objective-c 推特有 iPhone SDK API 吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/757649/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there an iPhone SDK API for twitter?
提问by 4thSpace
mobclix.com has an API for integrating with facebook.com. Is there something similar for twitter.com and other social services? Meaning, these will look like native parts of your app?
mobclix.com 有一个用于与 facebook.com 集成的 API。twitter.com 和其他社交服务是否有类似的东西?意思是,这些看起来像你的应用程序的原生部分?
回答by Jaka Jan?ar
回答by user102008
There is now a built-in Twitter APIon iOS
iOS现在有一个内置的Twitter API
回答by gemmakbarlow
Link provided by NNN above to sharekit wasn't correct - try this one instead :
上面 NNN 提供的 sharekit 链接不正确 - 试试这个:
Looks really promising and integrates with much more than Twitter!
看起来非常有前途,并且集成的不仅仅是 Twitter!
回答by NNN
回答by Dave Batton
回答by Macha
Twitter's API gives you the option to have the feeds in XML or JSON format. Check their documentation. I don't know much about the iPhone SDK, but it surely has XML parsing.
Twitter 的 API 使您可以选择使用 XML 或 JSON 格式的提要。检查他们的文档。我不太了解 iPhone SDK,但它肯定有 XML 解析。
I can't see Apple including a inbuilt API to the SDK for two reasons:
我看不到 Apple 将内置 API 包含到 SDK 中,原因有两个:
- If they start at Twitter, they'll have to do myspace, facebook, friendfeed etc.
- There are many Twitter apps on the app store atm. If apple released a twitter API, they'd have much more competition and wouldn't be happy with Apple.
- 如果他们从 Twitter 开始,他们将不得不做 myspace、facebook、friendfeed 等。
- 应用商店 atm 上有很多 Twitter 应用。如果苹果发布 Twitter API,他们将面临更多竞争,并且不会对 Apple 感到满意。
回答by Iggy
Matt Gemmell and Craig Hockenberry, developer of Twitterific created MGTwitterEngine, an easy-to-use library of classes providing methods that make it extremely easy for the developer to access the Twitter API. see I believe there are a few other libs out there, but it's just as easy to roll your own because like Macha says above Twitter's API gives you the option to have the feeds in XML or JSON format.
Matt Gemmell 和Twitterific 的开发人员 Craig Hockenberry创建了MGTwitterEngine,这是一个易于使用的类库,提供的方法使开发人员可以非常轻松地访问 Twitter API。看到我相信那里还有一些其他库,但是推出自己的库同样容易,因为就像上面 Macha 所说的那样,Twitter 的 API 为您提供了以 XML 或 JSON 格式提供提要的选项。
回答by Nate Symer
I would use FHSTwitterEngine. Its a synchronous library, so you can get twitter data in real time. With GCD, queues, and threading, you can get the same functionality as asynchronous. I wrote it.
我会使用FHSTwitterEngine。它是一个同步库,因此您可以实时获取推特数据。使用 GCD、队列和线程,您可以获得与异步相同的功能。我写的。
回答by Héctor Ramos
There is no API for Twitter built into the 2.2.1 SDK. I can not comment about the 3.0 beta per NDA restrictions, but you should not expect Apple to include a service-specific API in the SDK.
2.2.1 SDK 中没有内置用于 Twitter 的 API。我无法根据 NDA 限制评论 3.0 beta,但您不应期望 Apple 在 SDK 中包含特定于服务的 API。
Any Twitter or web service consuming feature has to be coded using the existing API calls and it is your choice to use Interface Builder to emulate the native iPhone look as close as possible.
任何 Twitter 或 Web 服务消费功能都必须使用现有的 API 调用进行编码,您可以选择使用 Interface Builder 来尽可能接近地模拟本机 iPhone 外观。
回答by iMeMyself
for IOS 5 and more tweet sheetdoes the job
对于 IOS 5 和更多推文表可以完成这项工作

