|
Friday, 22 May 2009 18:12 |
|
I'm looking for a script that can be run via cron (on a linux webhost (dreamhost)) to search twitter.com (using whatever API they provide) looking for a #hashtag that people "tweet". I'd like to then post the tweet to twitter including the original persons twitter name (for credit). I would also like for the script to be mindful of the max API calls you can do based on their TOS.
Example:
Bobby: I'm #goingtothemall to see my friends
Sally: I like #goingtothemall it is fun
Output:
via bobby: I'm #goingtothemall to see my friends.
via sally: I like #goingtothemall it is fun
NOTE: On the output above I would like an AT symbol the one used in email addresses before the username
Source Docs:
http://apiwiki.twitter.com/Search+API+Documentation
http://apiwiki.twitter.com/Search-API-Documentation?SearchFor=search&sp=1
http://apiwiki.twitter.com/REST-API-Documentation?SearchFor=post&sp=1
|