Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,13 @@ In addition, the parameters object may include two functions, one of which will

{
name: 'blue',
complete: function(data, pagination){
complete: function(data, pagination, remaining){
console.log(remaining); //±5000
// remaining(int) parameter used for get data of the remaining 1 hour queries to API Instagram
// data is a javascript object/array/null matching that shipped Instagram
// when available (mostly /recent), pagination is a javascript object with the pagination information
// for example use cursor pagination in the follows or other methods
Instagram.users.follows({ cursor: pagination.next_cursor });
},
error: function(errorMessage, errorObject, caller){
// errorMessage is the raised error message
Expand Down
Loading