如何以字符串形式获取用户的 10 条最新推文?
我正在制作一个应用程序,我只需要 Twitter 集成来获取用户的最新推文并将其显示在 TableView 中。
我尝试使用 MGTwitterEngine 但出现很多错误。我猜它不是为 iOS 设计的。
当我们这样做时,有人有一个可用的 iOS twitter 客户端项目吗?稍后我计划添加点击 TableCells 来回复该推文的功能。
I'm making an app and I only need Twitter integration to get the latest tweets from a user and display them in a TableView.
I tried using MGTwitterEngine but I get lots of errors. I'm guessing it wasn't made for iOS.
While we're at it, does anyone have a working iOS twitter client project? Later I'm planning to add the function to tap on of the TableCells to reply to that tweet.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MGTwitterEngine 实际上在 iOS 中运行得很好。
您应该使用 Ben Gottlieb 的这个版本: Twitter+OAuth/MGTwitterEngine
有一个工作示例如果我没记错的话,在该代码中。
只需确保在此地址获取您的 Twitter API 密钥:
https://dev.twitter.com/apps/新
MGTwitterEngine actually works pretty well in iOS.
You should be using this version by Ben Gottlieb: Twitter+OAuth/MGTwitterEngine
There's a working example in that code if I remember correctly.
Just make sure to get your twitter API key at this address:
https://dev.twitter.com/apps/new
Ben Gottlieb 有一个非常简单、易于集成的实现,用于通过 OAuth 访问 Twitter:https://github.com /bengotlieb/Twitter-OAuth-iPhone
Ben Gottlieb has a very straightforward, easily integratable implementation for Twitter access via OAuth: https://github.com/bengottlieb/Twitter-OAuth-iPhone