php twitter grab retweet user info
i am working on a project in php.
When we post something on twitter, i want to grab the users who have re-tweeted my tweet and store it in my database. I want to work in php and mysql.
If I post a questio开发者_如何学Pythonn on my tweet, i want grab the answers and save the userinfo of all the users who gave the right answer.
Any suggestions on how to get started?? Thanks :)
Here is a full twitter API class that someone has built that might be useful as well. http://brandontreb.com/the-only-twitter-api-php-class-you-will-ever-need/
UPDATED: Here is a RESTful API service for pulling retweets of your items: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-retweets
You can use a pre-existing class or build your own. It will most likely require cURL and XML knowledge. But if you understand PHP, you should be able to knock this out fairly quick.
精彩评论