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.
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.
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.
For the comment "mobclix.com has an API for integrating with facebook.com.":
Sorry I cannot find where is the API for facebook on mobclix.com. Is it possible to show me the right direction please, 4thSpace ?
What I am looking for is just a login-window for Facebook, Twitter, after the user input their account ID and password to their account, the action finish and returns back to my application.
Link provided by NNN above to sharekit wasn't correct - try this one instead :
Looks really promising and integrates with much more than Twitter!
hi NNN , this sharekit , does it only login?
what i want to do is actually show a mobile version of the web page .