Instagram/python-instagram — pull request #28 by michaelhelmick (2012-05-28 17:10:07+00:00)
Title: Added user_relationship method, more verbose simplejson import, except ValueError on loads funcs

Fixes #27

* ```user_relationship``` - determine whether the relationship status
between the current user and the target user

* more verbose ```simplejson``` import

* except ValueError on ```simplejson.loads()``` - This needs to be
caught. An example can be

```python
ingr = InstagramAPI(**creds)
ingr.user_relationship(user_id='mikehelmick')
```

```mikehelmick``` is not a user **id** so Instagram returns

404

Couldn't find this page. Sorry.

Which would cause L134 of ```bind.py``` to fail because
```raise InstagramAPIError(status_code,
content_obj['meta']['error_type'], content_obj['meta']['error_message'])
```

```meta``` does not exist cause the response wasn't parsed.