views:

36

answers:

1

How can I use/implement the new Graph API from facebook in iOS programming (objective C)? Also parsing the JSON file returned by the API? I can't seem to find any examples out there. Facebook resources doesn't give too many details on iOS development.

A: 

Have you downloaded the Facebook iOS SDK from here: http://github.com/facebook/facebook-ios-sdk. It contains all you need to connect to Facebook from iOS and also sample code on how to use both the old API and the new Graph API.

loomer
I have downloaded the SDK from that link, but didn't see any sample code on how to parse and call the Graph API methods from objective-C
EquinoX
Take a look at the DemoApp project (located under sample). The DemoAppViewController.m files contains some sample code that should be enough to get you started.
loomer