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

Added method Twitter::SearchResults#next_results? #366

Merged
merged 1 commit into from
Mar 15, 2013

Conversation

KentonWhite
Copy link
Contributor

Returns true if there is a next page for a Twitter SearchResult.
Returns false otherwise

Aliased to next_page? for backward compatibility with v1 API

Returns true if there is a next page for a Twitter SearchResult.
Returns false otherwise

Aliased to next_page? for backward compatibility with v1 API
@sferik
Copy link
Owner

sferik commented Mar 15, 2013

Looks good. Thanks for separating this out. 😄

sferik added a commit that referenced this pull request Mar 15, 2013
Added method Twitter::SearchResults#next_results?
@sferik sferik merged commit 7d9d6f9 into sferik:master Mar 15, 2013
@bcackerman
Copy link

Ok, I'm confused do I do this to get to different pages of the results?

Twitter.search("#ruby", :next_results => "?")

@bcackerman
Copy link

And to see if there's a second page I would do. This is giving me a no method error.

Twitter.search("#ruby", :next_results => "?").next_results?

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.

3 participants