Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Sunday, April 8, 2012
Is there an iPhone SDK API for twitter?
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?
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.
I can't see Apple including a inbuilt API to the SDK for two reasons:
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.
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.
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.
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.
Try MGTwitterEngine
ReplyDeleteTwitter'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.
ReplyDeleteI can't see Apple including a inbuilt API to the SDK for two reasons:
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.
Link provided by NNN above to sharekit wasn't correct - try this one instead :
ReplyDeletehttp://www.getsharekit.com/
Looks really promising and integrates with much more than Twitter!
There is now a built-in Twitter API on iOS
ReplyDeleteMatt 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
ReplyDeleteI 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.
Try using ShareKit.
ReplyDeleteIt supports other services like Facebook, Delicious, Tumblr and more too.
DETweetComposeViewController
ReplyDeleteWorks with iOS 4 or later.
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.
ReplyDeleteAny 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.