Here’s how I used Facebook Connect on iPhone.
Setting Up A Facebook Application
You will need to get following two elements to authenticate for Facebook API access from iPhone
- API Key: this key identifies your application to Facebook. You pass it with all your API calls.
- Application Secret Key: Facebook uses this key to authenticate the requests you make. As you can tell by its name, you should never share this key with anyone.
First, add Facebook’s Developer Application to your Facebook account.
- Visit the Developer Application page
- Click the Allow button
Next, go to Developer Application page and add a new application.
- Click the “+ set up new application” button at the top of the page
- Enter an Application Name; read the Facebook terms and, if you agree, select the Agree radio button; click Save Changes .
Adding Facebook capabilities to an iPhone application
First, download Facebook Connect for iPhone SDK
Next, Check out the documentation to get started.
I also found a great tutorial from Mobile Orchard very helpful. It explains how to implement Facebook Connect on iPhone (login, status update) and comes with a sample xcode project.
Related posts:
- Best Video Recording Apps for Your iPhone 3G and 2G Share Since Apple has approved a video recording app for...
Related posts brought to you by Yet Another Related Posts Plugin.
