如何在iOS 5中实现RETWEET? [英] How to implement RETWEET in ios 5?

查看:65
本文介绍了如何在iOS 5中实现RETWEET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目中,将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预先感谢:)

推荐答案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆