views:

13708

answers:

8

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?

+1  A: 

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:

  1. If they start at Twitter, they'll have to do myspace, facebook, friendfeed etc.
  2. 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.
Macha
Not expecting Apple to do it. Hence my mention of mobclix.com's approach for facebook.
4thSpace
A: 

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.

Hector Ramos
Awesome, downvoted for stating the truth.
Hector Ramos
There, take your vote back ;-)
Moshe
Looking back, I was too specific, and not helpful at all. Woops!
Hector Ramos
+21  A: 

Try MGTwitterEngine

Jaka Jančar
Cool. Thanks. This looks promising.
4thSpace
Doesn't compile.
ZaBlanc
ZaBlanc - often when people are having trouble compiling MGTwitterEngine, it's because they're missing the libxml libraries. Make sure your Build config includes a header search path for: $SDKROOT/usr/include/libxml2
hjd
+1  A: 

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.

Iggy
A: 

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.

lionfly
A: 

Try using ShareKit.

It supports other services like Facebook, Delicious, Tumblr and more too.

NNN
A: 

Link provided by NNN above to sharekit wasn't correct - try this one instead :

http://www.getsharekit.com/

Looks really promising and integrates with much more than Twitter!

GeM
This looks really good, because afaik MGTwitterEngine still needs a few hacks to get to work post-OAuthacalypse.
Arun
A: 

hi NNN , this sharekit , does it only login?

what i want to do is actually show a mobile version of the web page .

AlsonToh-SG