Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix library to work with API changes after 17 Nov 2015 #204

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

florianbeer
Copy link

  • Add new permission scopes
  • Require access token for all endpoints
  • Remove deprecated endpoints
  • Fix parameters for endpoints
  • Fix pagination

eduard and others added 2 commits March 15, 2016 14:26
@fabiomlferreira
Copy link

Please approve this request

@filkaris
Copy link

filkaris commented Apr 4, 2016

I agree, I was about to make a PR to add new permission scopes and I saw this.
It looks ok and it's important, please merge this.

}

return $this->_makeCall($function, $auth, array('cursor' => $obj->pagination->next_cursor, 'count' => $limit));
return $this->_makeCall($function, array('next_max_id' => $obj->pagination->next_max_id, 'count' => $count));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pagination call is made with a parameter named "next_max_id". It seems that it should be named "max_id". For example, see the parameters for the "/users/self/media/recent/" endpoint. Am I missing something?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pagination seems to work for me, but maybe I didn't use that endpoint yet.
Did you test it out? What is the error message you are getting back from the Twitter API?
If this is indeed an error, please make a pull request with the changed parameter name.
Thank you.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get any error from Instagram, but each pagination call returns the same batch of results. Changing "next_max_id" to "max_id" allowed me to get the next batch of items in the paginated list.

Oli Mortimer and others added 4 commits August 4, 2016 16:15
Readme states that `getUserFollows()` and `getUserFollower()` accepts an `$id` and `$limit`, however these were never used.  Also, nothing was ever returned.
Fixes getUserFollows and getUserFollower
@angelxmoreno
Copy link

:shipit:

jobollen and others added 2 commits October 21, 2016 14:06
…rties are used in _makeOAuthCall() and _makeCall().
Added Proxy functionaly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants