Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Twitter OAuth Retweet

I have implemented Twitter OAuth in my web application, the web application currently fetches all tweets made with a specific tag referenced.

I'd like the user to be able to retweet any one of the tweets that are returned.

Can anyone point me in the right direction, point me to an example or documentation on how to retweet via OAuth and Twitter.

like image 862
CLiown Avatar asked Feb 03 '26 14:02

CLiown


2 Answers

http://api.twitter.com/1/statuses/retweet/id.format

from http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-retweet

like image 166
fire Avatar answered Feb 05 '26 03:02

fire


Giving this url your tweet's id will use twitter's functionality to retweet.

http://twitter.com/intent/retweet?tweet_id=

like image 40
Shan Robertson Avatar answered Feb 05 '26 04:02

Shan Robertson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!