News for hackers. Stuff that matters.
Re:Twitter feed of Hacker News stories as soon as they reach... by oscardelben on Monday July 19, 2010 @10:30AM (#1528760)
This is actually useful. Care to share how you implemented it?
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @11:06AM (#1528902)
It's a Python script I run every 5 minutes with cron. It uses BeautifulSoup to scrape the newsyc front page, Tweepy to send out out tweets, and sqlite3 to keep track of which stories have already been tweeted.
Re:Twitter feed of Hacker News stories as soon as they reach... by mike-cardwell on Monday July 19, 2010 @01:05PM (#1529318)
Why use an sqlite DB when you can use the twitter feed its self to check whether or not a story has been posted?
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @01:15PM (#1529352)
Because twitter is unstable, and the api is rate-limited.
Re:Twitter feed of Hacker News stories as soon as they reach... by virrgil on Monday July 19, 2010 @04:15PM (#1530002)
Could you share the source please?