How to integrate Facebook into iPhone App

I know this is a frequently asked question; but I want to say the following: what is the recommended or well-proven way to connect to FB from the iPhone App.

Type 1: I saw a tutorial here . It uses AsiHttpRequest, the Json library to publish to the FB wall.

Type 2: there is a tutorial here on the Facebook site itself that uses the same Graph API, but seems to use a different API for wall calls, login, etc.

Which of these two is better? Type-1 uses external libraries, but the textbook is quite sensible. Type-2, apparently, is directly related to Facebook, but then I don’t know how updated / outdated the manual is (date not specified).

+1
source share
3 answers

Type 2 was updated last Tuesday, and Type 1 was updated in January 2010, so I would suggest using Type 2 a) because the code is directly connected to Facebook and b) this is the latest tutorial.

But the best way to integrate Facebook is to use the new iOS 6 Facebook SDK .

+5
source

The most recommended development method for facebook is the new Facebook iOS SDK.

http://developers.facebook.com/ios/

+1
source

- facebook API ios ( RTFM :-)). ios 5, lib lib. , facebook. , , , API- facebook, .

+1
source

All Articles