tag:blogger.com,1999:blog-65534478306480156412024-03-12T19:50:30.359-07:00maekwanyinAngle Dropetthttp://www.blogger.com/profile/12212268811361168737noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6553447830648015641.post-55524975960556641122013-02-02T12:42:00.002-08:002013-02-02T12:42:28.477-08:00Facebook Login<b>Facebook Login</b> for iOS allows you to obtain an access token to access Facebook services on behalf of a user. You can use this feature in place of building your own account system or to add Facebook services to your existing accounts.<br />
<br />
Today there are three ways a user can login to Facebook. Originally using Facebook Login in your iOS app would show an in-app web view where the user could connect. In late 2010 we introduced a faster technique called Facebook Login that enabled one-click access for user using the native Facebook for iOS app. In iOS 6, Apple is introducing Facebook integration built into iOS directly, which further simplifies the process.<br />
<br />
The Facebook SDK for iOS will automatically choose the best option when you attempt to use Facebook login. If a user previously gave your app permissions, the SDK will immediately return an OAuth 2 access token back to your app, possibly without even showing the user a prompt. For this reason, we recommend you always use the Facebook SDK for iOS to obtain Facebook access tokens.<br />
<br />
<b>This article walks through the following topics:</b><br />
<br />
<b>*Login Setup</b><br />
<ul>
<li>Step 1: Get Started</li>
<li>Step 2: Set Up your Xcode Project</li>
<li>Step 3: Include the Facebook SDK</li>
<li>Step 4: Implement the Login Flow</li>
<li>Step 5: Implement the Logout Flow</li>
</ul>
<b>*Best Practices</b><br />
<ul>
<li>Pro-tip 1: Include Facebook Login at User Registration</li>
<li>Pro-tip 2: Request Only the Permissions Your App Needs</li>
<li>Pro-tip 3: Complete All iOS App Settings </li>
</ul>
Angle Dropetthttp://www.blogger.com/profile/12212268811361168737noreply@blogger.com0