如何在iOS 5中实现RETWEET? [英] How to implement RETWEET in ios 5?
问题描述
我正在一个项目中,将Twitter与我的iPhone应用程序集成,并且目前已经实现了发布Tweet功能(感谢ios 5中的Twitter框架工作),我想继续进行RE TWEET功能,帮助将不胜感激.
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预先感谢:)
推荐答案
向 https://dev.twitter.com/docs/api/1/post/statuses/retweet/:id 以获得有关通过API). (将12345替换为用户正在转发的推文的ID)
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)
请参见 https://dev.twitter.com/docs/ios /making-api-requests-twrequest 获取有关通过TWRequest发出REST API请求的更多信息.
See https://dev.twitter.com/docs/ios/making-api-requests-twrequest for more information on issuing REST API requests via TWRequest.
这篇关于如何在iOS 5中实现RETWEET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!