[twitter-dev] Any idea to minimize my request number?

2011-07-07 Thread Jean-Yves Kiger
Hi everyone,

Here is my project:
I would like to make a java programm wich would store as many tweets
as possible about one subject using the search API.  And once it is
done, i would like to get basic informations about their posters, such
as their number of followers, number of tweets and so on. But for that
purpose i will have to make one request like that

http://api.twitter.com/1/users/show.json?screen_name=SCREEN_NAME_STR

for each individual poster, wich will surely reaches the rate
limitation before i could store all the informations i want.
I dont find these informations in the HTML code of the homepage of
each users, so i think i will have to get them through the REST API.

Do you have any idea to get the informations i want to get without
overflow the limitation?

Thanks for reading, and pardon my english.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Any idea to minimize my request number?

2011-07-07 Thread Taylor Singletary
Hi,

You may find better results using the Streaming API instead of the Search
API: https://dev.twitter.com/pages/streaming_api

Also, if you did have to perform bulk lookups of multiple users, the
users/lookup API is superior in that you can perform 80-100 user lookups in
a single call: https://dev.twitter.com/doc/get/users/lookup

@episod http://twitter.com/intent/user?screen_name=episod - Taylor
Singletary


On Thu, Jul 7, 2011 at 8:25 AM, Jean-Yves Kiger jyki...@gmail.com wrote:

 Hi everyone,

 Here is my project:
 I would like to make a java programm wich would store as many tweets
 as possible about one subject using the search API.  And once it is
 done, i would like to get basic informations about their posters, such
 as their number of followers, number of tweets and so on. But for that
 purpose i will have to make one request like that

 http://api.twitter.com/1/users/show.json?screen_name=SCREEN_NAME_STR

 for each individual poster, wich will surely reaches the rate
 limitation before i could store all the informations i want.
 I dont find these informations in the HTML code of the homepage of
 each users, so i think i will have to get them through the REST API.

 Do you have any idea to get the informations i want to get without
 overflow the limitation?

 Thanks for reading, and pardon my english.

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk