Skip to content

Commit

Permalink
Added user specific documention
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrandel committed Jun 2, 2011
1 parent 2601b01 commit 1990fe4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,21 @@ For example:
// search for a location
instagram.tags.search({lat: ..., lng: ..., distance: ...}, function (tags, error) { ... });


// get info about a specific user
instagram.users.id(1234, function (user, error) { ... });

// get recent media for a user
instagram.users.media(1234, {count: 12}, function (images, error, pagination) { ... });

// getting own media, according to given *access_token* which is a required parameter
instagram.users.self({access_token: "1337", count: 12}, function (images, error, pagination) { ... });

// search for usernames
instagram.users.search("Jack", function (users, error) { ... });
instagram.users.search({q: "John", count: 1}, function (users, error) { ... });

# License

Some sort of BSD or MIT license, the general idea being:
Expand Down

0 comments on commit 1990fe4

Please sign in to comment.