[twitter-dev] Re: rpp and page
Give example of what you are calling and what you expect to get back. On Tue, Apr 21, 2009 at 12:19, Joseph wrote: > > Thank you, but like I said in my earlier post, I am following these > directions in my API calls, but it's not returning what I expect to > see when setting rpp and page to the proper values. > > On Apr 21, 10:04 am, Abraham Williams <4bra...@gmail.com> wrote: > > Here are the docs: > http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search > > > > On Tue, Apr 21, 2009 at 10:41, Joseph wrote: > > > > > This is for a search: there are two parameters that do not seem to be > > > working (or I can't figure out where the correct documentation is): > > > rpp (for number of entries per page returned, and page (number of > > > pages returned per search). And it seems as if no matter what I enter > > > for "since" and "to" (since a date, to a date), these values seem to > > > be ignored. > > > > -- > > Abraham Williams |http://the.hackerconundrum.com > > Hacker |http://abrah.am|http://twitter.com/abraham > > Web608 | Community Evangelist |http://web608.org > > This email is: [ ] blogable [x] ask first [ ] private. > > Sent from Madison, Wisconsin, United States > -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: rpp and page
Thank you, but like I said in my earlier post, I am following these directions in my API calls, but it's not returning what I expect to see when setting rpp and page to the proper values. On Apr 21, 10:04 am, Abraham Williams <4bra...@gmail.com> wrote: > Here are the > docs:http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search > > On Tue, Apr 21, 2009 at 10:41, Joseph wrote: > > > This is for a search: there are two parameters that do not seem to be > > working (or I can't figure out where the correct documentation is): > > rpp (for number of entries per page returned, and page (number of > > pages returned per search). And it seems as if no matter what I enter > > for "since" and "to" (since a date, to a date), these values seem to > > be ignored. > > -- > Abraham Williams |http://the.hackerconundrum.com > Hacker |http://abrah.am|http://twitter.com/abraham > Web608 | Community Evangelist |http://web608.org > This email is: [ ] blogable [x] ask first [ ] private. > Sent from Madison, Wisconsin, United States
[twitter-dev] Re: rpp and page
Yes, I understand that the page # is the page # and that I have access to about 150 of those, and I am processing the json file properly. I will double check the data types I'm using. Looking through a json response, the twitter api thinks I am entering negative dates (for since) (not the case). On Apr 21, 10:34 am, Nick Arnett wrote: > On Tue, Apr 21, 2009 at 8:41 AM, Joseph wrote: > > > page (number of > > pages returned per search). > > I'm not sure if you meant what you wrote here, but page is the page number > of the search results for one query, not the number of pages returned per > search. In other words, you'd iterate through the available pages to get > all of the available results. > > However, the search API also returns a URL for the next result page > ("next_page"), so you don't have to make your own iterator unless you wish > to skip some results pages for some reason. > > Nick
[twitter-dev] Re: rpp and page
On Tue, Apr 21, 2009 at 8:41 AM, Joseph wrote: > > page (number of > pages returned per search). I'm not sure if you meant what you wrote here, but page is the page number of the search results for one query, not the number of pages returned per search. In other words, you'd iterate through the available pages to get all of the available results. However, the search API also returns a URL for the next result page ("next_page"), so you don't have to make your own iterator unless you wish to skip some results pages for some reason. Nick
[twitter-dev] Re: rpp and page
Here are the docs: http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search On Tue, Apr 21, 2009 at 10:41, Joseph wrote: > > This is for a search: there are two parameters that do not seem to be > working (or I can't figure out where the correct documentation is): > rpp (for number of entries per page returned, and page (number of > pages returned per search). And it seems as if no matter what I enter > for "since" and "to" (since a date, to a date), these values seem to > be ignored. > -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States