How to implement RETWEET in ios 5?

2019-04-09 19:59发布

I'm working on a project to integrate twitter with my iPhone app, and for now post tweet functionality has been achieved (big thanks to twitter frame work in ios 5), and I want to proceed to RE TWEET function, any help would be appreciated.

P.S-Thanks in advance :)

2条回答
Explosion°爆炸
2楼-- · 2019-04-09 20:35

Issue a POST request to https://api.twitter.com/1/statuses/retweet/12354.json from TWRequest (see https://dev.twitter.com/docs/api/1/post/statuses/retweet/:id for documentation on retweeting via the API). (replace the 12345 with the ID of the tweet the user is retweeting)

See https://dev.twitter.com/docs/ios/making-api-requests-twrequest for more information on issuing REST API requests via TWRequest.

查看更多
我只想做你的唯一
3楼-- · 2019-04-09 20:55

Add current date and time with re twitting message, another wise twitter does not receive same message again.

查看更多
登录 后发表回答