We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Twitter4J: Live tweetstream Max update frequency
Page Index Toggle Pages: 1
Twitter4J: Live tweetstream? Max update frequency? (Read 2264 times)
Twitter4J: Live tweetstream? Max update frequency?
Jan 10th, 2010, 4:16pm
 
Hi!

I have successfully retrieved tweet lists about a certain keyword using twitter4J.
My question is: What is the maximum update frequency for Twitter without getting banned?

I ask because I have seen the Twistmas tree (search youtube, can't post links, sorry) and it seems to update many times per second. Is it using some kind of streaming update? I could not find any code for the tree sadly  Sad

It would really be great to get up to the second tweet notifications!
Hints are appreciated, thanks!
Re: Twitter4J: Live tweetstream? Max update frequency?
Reply #1 - Jan 10th, 2010, 4:28pm
 
talking about this project http://blog.litstudios.com/index.php/archives/27-Interactive-Christmas-Tree-using-Twitter.html


As far as i know and according to the twitter api faq you can update 70 times per hour.

but maybe check out the new twitter stream Api library http://processing.org/discourse/yabb2/num_1262217023.html#2
Re: Twitter4J: Live tweetstream? Max update frequency?
Reply #2 - Jan 10th, 2010, 4:49pm
 
hi!
thanks, yes that's the tree.

I tried the twitter stream library, but I get the following error at startup:


connecting to twitter stream htttp://stream.twitter.com:80/1/statuses/filter.json?locations=-180,-90,180,90
couldn't connect to htttp://stream.twitter.com:80/1/statuses/filter.json?locations=-180,-90,180,90: org.apache.http.conn.HttpHostConnectException: Connection to htytp://stream.twitter.com:80 refused

what am I doing wrong? (the htttp typos are because I can't post active links, haha)

Using the code at htttp://github.com/mccv/twitter_geo_vis
Re: Twitter4J: Live tweetstream? Max update frequency?
Reply #3 - Jan 10th, 2010, 11:31pm
 
i would say better ask mccv, its his library.
Re: Twitter4J: Live tweetstream? Max update frequency?
Reply #4 - Jan 17th, 2010, 10:32am
 
I just recently made a pretty neat little project using this library.  Initially I had the same problem of 70 updates per hour.  Pretty useless for real time updates.  However, you can request to be whitelisted for your twitter account which gives you 20,000 updates an hour which essentially is limitless.  Here is the link with more info http://apiwiki.twitter.com/Rate-limiting.  You just fill out a simple form about what you are using it for (ie. a processing project) and they get back to you in a few days.  Worked for me, hope you have success as well.

Russell
Re: Twitter4J: Live tweetstream? Max update frequency?
Reply #5 - Jan 17th, 2010, 11:20am
 
Do they whitelist your twitter account, or requests comming from an ip?
Re: Twitter4J: Live tweetstream? Max update frequency?
Reply #6 - Jan 19th, 2010, 2:11pm
 
It just whitelists whatever twitter account that you provide them.
Page Index Toggle Pages: 1