In our application we use Facebook and Twitter. Facebook Connect is great. Really easy to do authentication, just a few lines of code:
session = [FBSession sessionForApplication:myApiKey secret:myAppSecret delegate:self];
descriptor descriptor:
- (void)session:(FBSession*)session didLogin:(FBUID)uid
and add the login button:
FBLoginButton* button = [[[FBLoginButton alloc] init] autorelease]; [self.view addSubview:button];
More info here
The hard part may be fql. But if you have encountered SQL before, this should not be a problem. I already have experience with SQL, and it took me several hours to understand fql and send / receive to facebook.
About Twitter, it's harder because Oauth Authentication requires you more tasks. Getting the Twitter API is easy to get started, but hard to scale further, imo, but it may not be your problem if you only care about user authentication
Twitter currently recommends using XAuth instead of OAuth on Iphone, because it creates a better user interface. Read more about XAuth and OAuth here . We used this library for OAuth, but now that we are switching to XAuth, we have stopped using it.
vodkhang
source share