We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assuming twitter_user is an instance of User and authenticated via OAuth,
opts = {} opts['count'] = '200' opts['since_id'] = twitter_user.since_id unless twitter_user.since_id.blank? tweets = twitter_user.twitter.get('/statuses/friends_timeline', opts)
opts are not passed through, and tweets contains the last 20 tweets for this method, without regard for since_id
Looking through the dispatcher code, it would seem that this should be working, but I can't seem to reproduce.
The text was updated successfully, but these errors were encountered:
This solves the issue (although I have been mucking with ruby-debug, Net::HTTP, etc. for an hour and can't figure out why [yet]):
twitter_user.twitter.get('/statuses/friends_timeline?count=200&since_id=12345')
Sorry, something went wrong.
I think this is because get isn't "supposed to" take separate arguments, or some such. Separate arguments work fine with post.
No branches or pull requests
Assuming twitter_user is an instance of User and authenticated via OAuth,
opts = {}
opts['count'] = '200'
opts['since_id'] = twitter_user.since_id unless twitter_user.since_id.blank?
tweets = twitter_user.twitter.get('/statuses/friends_timeline', opts)
opts are not passed through, and tweets contains the last 20 tweets for this method, without regard for since_id
Looking through the dispatcher code, it would seem that this should be working, but I can't seem to reproduce.
The text was updated successfully, but these errors were encountered: