开发者

php twitter grab retweet user info

i am working on a project in php.

  1. 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.

  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜