简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM