Reputation: 65962
I've made a twitter bot using the CURL library for PHP, and a MySQL db.
But I would like to expand its functionality by automatically retweeting tweets marked with a certain hashtag.
I do not know quite how to do this, so would any of you be willing to point me to a learning resource on how to do this?
Or if you really want to, show me how to add this functionality?
Thanks!
Upvotes: 2
Views: 1116
Reputation: 5240
What you need is a daemon. You have to make it search every time for the hashtag you are looking for (check search documentation).
Then you'll have to retweet.
And perhaps, you shall save each retweet in a Data Base, so your daemon won't duplicate tweets.
Upvotes: 3