Twitter - Get users live tweets on my website instantly

Posted by Gublooo on Stack Overflow See other posts from Stack Overflow or by Gublooo
Published on 2010-04-26T01:06:03Z Indexed on 2010/04/26 1:13 UTC
Read the original article Hit count: 343

Filed under:
|
|

Hello guys,

I was checking out the stocktwits.com website. While signing up I provided them with my twitter username. Now whenever I tweet and if my tweet contains $ and a stock ticker symbol - it instantly appears on Stocktwits.com

I am interested in implementing something similar in my website. Just wanted an understanding of how this would work. This is how I'm assuming it would work at a high level:

1) On my website - require users to provide their twitter usernames 2) Run a cron job every few minutes to pull the latest tweets for each of the usernames provided using something like http://twitter.com/statuses/user_timeline/username.xml

I've tried Stocktwits and they updates are almost instantaneous - so it does not appear like they are checking for updates every few minutes.

  • What are the best ways to implement this solution Thanks

© Stack Overflow or respective owner

Related posts about twitter

Related posts about twitterapi