{"id":1654,"date":"2012-06-07T14:43:59","date_gmt":"2012-06-07T14:43:59","guid":{"rendered":"http:\/\/www.mobisoftinfotech.com\/blog\/?p=1654"},"modified":"2024-11-26T17:15:23","modified_gmt":"2024-11-26T11:45:23","slug":"facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on","title":{"rendered":"Facebook iOS SDK Tutorial : iPhone App Facebook integration with SSO (Single Sign On) FBConnect"},"content":{"rendered":"<p lang=\"en-US\">With release of iOS5 new concept of SSO came. Now what is this SSO? Why we should use it? \u201cSingle Sign On\u201d process is known as SSO. SSO let\u2019s user sign into app only once on a device. That means if user is already sign in to app then they do not need to enter username and password again. Amazing isn\u2019t it.<\/p>\n<p lang=\"en-US\">In case of Facebook SSO the flow is as follows.<\/p>\n<ul>\n<li>\n<p lang=\"en-US\">If user has the Facebook app on device and he\/she is already logged in on the Facebook app then user does not need to log in again for your app. It will only ask for user permissions that are necessary for the app.<\/p>\n<\/li>\n<li>\n<p lang=\"en-US\">If user has the Facebook app on device but he\/she is not logged in to the app then iOS5 opens Facebook app in device for login and user permission and after that calling application will be opened again with access token and expiration date along with other parameters.<\/p>\n<\/li>\n<li>\n<p lang=\"en-US\">There can be a case where user does not have Facebook app. In that case iOS5 opens Facebook\u2019s mobile page in safari browser then user logs in from browser and then again calling application will be opened with authorization.<\/p>\n<\/li>\n<li>\n<p lang=\"en-US\">If user is using older device, which does not support multi-tasking then the old mechanism of popping up UIWebView, Facebook login and FBSessionDelegate call back which your app should implement.<\/p>\n<\/li>\n<\/ul>\n<p lang=\"en-US\">To start with you need to create app on Facebook account. Go to developers.facebook.com and tap on at top right corner \u201cApps\u201d. It will ask you to log in to Facebook account. And may be asked for mobile activation also.<\/p>\n<p lang=\"en-US\">Tap on create app and then provide unique name of your app. Then you will get the application ID or APP_ID and application secrete key.<\/p>\n<p class=\"text-center\" lang=\"en-US\"><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID.png\"><noscript><img decoding=\"async\" class=\"text-center aligncenter size-medium wp-image-1664\" title=\"App_ID\" src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png\" alt=\"application ID or APP_ID and application secrete key\" width=\"300\" height=\"240\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-1024x819.png 1024w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\"><\/noscript><img decoding=\"async\" class=\"text-center aligncenter size-medium wp-image-1664 lazyload\" title=\"App_ID\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20240%22%3E%3C%2Fsvg%3E\" alt=\"application ID or APP_ID and application secrete key\" width=\"300\" height=\"240\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20240%22%3E%3C%2Fsvg%3E 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-1024x819.png 1024w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID.png 1280w\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png\"><\/a><\/p>\n<p lang=\"en-US\">To start with first download the Facebook SDK <a title=\"here.\" href=\"https:\/\/github.com\/facebook\/facebook-ios-sdk\" rel=\"nofollow\">here<\/a>. (https:\/\/github.com\/facebook\/facebook-ios-sdk)<\/p>\n<p lang=\"en-US\">If you are using ARC enabled project then you should be using static library for which there is a build script \u201cbuild_facebook_ios_sdk_static_lib.s\u201d under script directory of Facebook SDK.<\/p>\n<p lang=\"en-US\">This will create static library under \u201c\/facebook-ios-sdk\/lib\/facebook-ios-sdk\u201d. You may need to copy \u201cfacebook-ios-sdk\u201d folder into your app.<\/p>\n<p lang=\"en-US\">If you are not using Automatic Reference Counting then you need to copy \u201csrc\u201c folder into application.<\/p>\n<p lang=\"en-US\">We have created a wrapper class to integrate Facebook SDK easily. You will need to download that wrapper class call \u201cFBUtils\u201d <a title=\"here\" href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Archive.zip\">here<\/a>.<\/p>\n<p lang=\"en-US\">Once you add those files into you application it will look like as below image.<\/p>\n<p class=\"text-center\" lang=\"en-US\"><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1665\" title=\"Project Structure\" src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure-300x244.png\" alt=\"Project Structure\" width=\"300\" height=\"244\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure-300x244.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure-1024x833.png 1024w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure.png 1233w\" sizes=\"(max-width: 300px) 100vw, 300px\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1665 lazyload\" title=\"Project Structure\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20244%22%3E%3C%2Fsvg%3E\" alt=\"Project Structure\" width=\"300\" height=\"244\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20244%22%3E%3C%2Fsvg%3E 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure-300x244.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure-1024x833.png 1024w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure.png 1233w\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/Project-Structure-300x244.png\"><\/a><\/p>\n<p lang=\"en-US\">Now there are only 3 steps remaining,<\/p>\n<ol>\n<li>\n<p lang=\"en-US\">Modify application delegate (AppDelegate)<\/p>\n<\/li>\n<li>\n<p lang=\"en-US\">Implement Custom URL schema.<\/p>\n<\/li>\n<li>\n<p lang=\"en-US\">Initialize, Login method call and delegate.<\/p>\n<p lang=\"en-US\">Lets&#8217; go through each step one by one.<\/p>\n<\/li>\n<\/ol>\n<ol>\n<li>\n<p lang=\"en-US\">Modify application delegate (AppDelegate)<\/p>\n<\/li>\n<\/ol>\n<p lang=\"en-US\">\/\/ Pre iOS 4.2 support<\/p>\n<ul>\n<li>\n<p lang=\"en-US\">(BOOL)application:(UIApplication *)application<\/p>\n<\/li>\n<\/ul>\n<p lang=\"en-US\">handleOpenURL:(NSURL *)url {<\/p>\n<p lang=\"en-US\">return [<span style=\"color: #000000;\">[FBUtils sharedFBUtils] handleOpenURL:url];<\/span><\/p>\n<p lang=\"en-US\">}<\/p>\n<p lang=\"en-US\">\/\/ For iOS 4.2+ support<\/p>\n<ul>\n<li>\n<p lang=\"en-US\">(BOOL)application:(UIApplication *)application<\/p>\n<\/li>\n<\/ul>\n<p lang=\"en-US\">openURL:(NSURL *)url<\/p>\n<p lang=\"en-US\">sourceApplication:(NSString *)sourceApplication<\/p>\n<p lang=\"en-US\">annotation:(id)annotation {<\/p>\n<p lang=\"en-US\">return [<span style=\"color: #000000;\">[FBUtils sharedFBUtils] handleOpenURL:url]; <\/span><\/p>\n<p lang=\"en-US\">}<\/p>\n<p lang=\"en-US\">2. Implement custom url schema with URL as fbAPP_ID<\/p>\n<p lang=\"en-US\">where APPID is the application Identifier which you get when you register the app on Facebook.<\/p>\n<p class=\"text-center\" lang=\"en-US\"><a href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema.png\"><noscript><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1666\" title=\"URL schema\" src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema-300x156.png\" alt=\"URL schema\" width=\"300\" height=\"156\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema-300x156.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema.png 709w\" sizes=\"(max-width: 300px) 100vw, 300px\"><\/noscript><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1666 lazyload\" title=\"URL schema\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20156%22%3E%3C%2Fsvg%3E\" alt=\"URL schema\" width=\"300\" height=\"156\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20156%22%3E%3C%2Fsvg%3E 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema-300x156.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema.png 709w\" data-src=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/URL-schema-300x156.png\"><\/a><\/p>\n<p lang=\"en-US\">OR you can right click on .plist file and then select \u201copen as\u201d ? \u201cSource code\u201d. Paste the code below and make sure you add valid APP_ID.<\/p>\n<p lang=\"en-US\">&lt;key&gt;CFBundleURLTypes&lt;\/key&gt;<\/p>\n<p lang=\"en-US\">&lt;array&gt;<\/p>\n<p lang=\"en-US\">&lt;dict&gt;<\/p>\n<p lang=\"en-US\">&lt;key&gt;CFBundleURLSchemes&lt;\/key&gt;<\/p>\n<p lang=\"en-US\">&lt;array&gt;<\/p>\n<p lang=\"en-US\">&lt;string&gt;fbAPP_ID&lt;\/string&gt;<\/p>\n<p lang=\"en-US\">&lt;\/array&gt;<\/p>\n<p lang=\"en-US\">&lt;\/dict&gt;<\/p>\n<p lang=\"en-US\">&lt;\/array&gt;<\/p>\n<p lang=\"en-US\">3. Initialize, Login method call and delegate<\/p>\n<p lang=\"en-US\">To initialize the FBUtils\u201dyou need call<span style=\"color: #000000;\"> in following manner<\/span><\/p>\n<p lang=\"en-US\">[[FBUtils sharedFBUtils] initializeWithAppID:@&#8221;&#8221;];<\/p>\n<p lang=\"en-US\">You need to provide APP_ID as input. This APP_ID is same as you have provided in Custom URL schema.<\/p>\n<p lang=\"en-US\">To call Login Method First you need to create array with set of permissions like read, publish etc. as per your app requirement. and then call method LoginWithPermission:<\/p>\n<p lang=\"en-US\">NSArray *permision = [NSArray arrayWithObjects:@&#8221;read_stream&#8221;,@&#8221;publish_stream&#8221;, nil];<\/p>\n<p lang=\"en-US\">[[FBUtils sharedFBUtils] LoginWithPermisions:permision];<\/p>\n<p lang=\"en-US\">If you want to perform certain operation after login then you need to set delegate as<\/p>\n<p lang=\"en-US\">[FBUtils sharedFBUtils].delegate = self;<\/p>\n<p lang=\"en-US\">and Implement method<\/p>\n<p lang=\"en-US\">-(void)fbDidLogin ;<\/p>\n<p lang=\"en-US\">In this way you can Integrate Facebook with SSO. Now to read and publish operations you will need to know about graph APIs. (<span style=\"color: #000080;\"><span style=\"text-decoration: underline;\"><a href=\"http:\/\/developers.facebook.com\/docs\/reference\/api\/\" rel=\"nofollow\">http:\/\/developers.facebook.com\/docs\/reference\/api\/<\/a>)<\/span><\/span><\/p>\n<p>You can download the source code from <a title=\"here\" href=\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/facebook.zip\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With release of iOS5 new concept of SSO came. Now what is this SSO? Why we should use it? \u201cSingle Sign On\u201d process is known as SSO. SSO let\u2019s user sign into app only once on a device. That means if user is already sign in to app then they do not need to enter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[3],"tags":[190,252,253,63,212,210,64,93,248,211,217,218,216,65,250,251],"class_list":["post-1654","post","type-post","status-publish","format-standard","hentry","category-iphone","tag-app-development","tag-austin","tag-dallas","tag-facebook-api","tag-facebook-sdk","tag-facebook-sso","tag-fbconnect","tag-fbconnect-tutorial","tag-houston","tag-ios-facebook","tag-iphone-facebook","tag-iphone-facebook-tutorial","tag-iphone-fbconnect","tag-iphone-tutorial","tag-mobile-apps","tag-san-francisco"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>FB iOS SDK Tutorial : iPhone App FB integration with SSO FBConnect<\/title>\n<meta name=\"description\" content=\"With the release of iOS 5 came the concept of SSO.Click to know more on iPhone App Facebook integration with SOO(Single Sign on) FBConnect\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FB iOS SDK Tutorial : iPhone App FB integration with SSO FBConnect\" \/>\n<meta property=\"og:description\" content=\"With the release of iOS 5 came the concept of SSO.Click to know more on iPhone App Facebook integration with SOO(Single Sign on) FBConnect\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-07T14:43:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T11:45:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pritam Barhate\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pritam Barhate\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\"},\"author\":{\"name\":\"Pritam Barhate\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"headline\":\"Facebook iOS SDK Tutorial : iPhone App Facebook integration with SSO (Single Sign On) FBConnect\",\"datePublished\":\"2012-06-07T14:43:59+00:00\",\"dateModified\":\"2024-11-26T11:45:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\"},\"wordCount\":745,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage\"},\"thumbnailUrl\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png\",\"keywords\":[\"App Development\",\"Austin\",\"Dallas\",\"Facebook API\",\"facebook sdk\",\"facebook sso\",\"FBConnect\",\"fbconnect tutorial\",\"Houston\",\"ios facebook\",\"iphone facebook\",\"iphone facebook tutorial\",\"iPhone FBConnect\",\"iPhone Tutorial\",\"mobile apps\",\"San Francisco\"],\"articleSection\":[\"iPhone - iPad\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\",\"name\":\"FB iOS SDK Tutorial : iPhone App FB integration with SSO FBConnect\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage\"},\"thumbnailUrl\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png\",\"datePublished\":\"2012-06-07T14:43:59+00:00\",\"dateModified\":\"2024-11-26T11:45:23+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"description\":\"With the release of iOS 5 came the concept of SSO.Click to know more on iPhone App Facebook integration with SOO(Single Sign on) FBConnect\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage\",\"url\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png\",\"contentUrl\":\"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Facebook iOS SDK Tutorial : iPhone App Facebook integration with SSO (Single Sign On) FBConnect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\",\"name\":\"Pritam Barhate\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"caption\":\"Pritam Barhate\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FB iOS SDK Tutorial : iPhone App FB integration with SSO FBConnect","description":"With the release of iOS 5 came the concept of SSO.Click to know more on iPhone App Facebook integration with SOO(Single Sign on) FBConnect","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on","og_locale":"en_US","og_type":"article","og_title":"FB iOS SDK Tutorial : iPhone App FB integration with SSO FBConnect","og_description":"With the release of iOS 5 came the concept of SSO.Click to know more on iPhone App Facebook integration with SOO(Single Sign on) FBConnect","og_url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on","og_site_name":"Mobisoft Infotech","article_published_time":"2012-06-07T14:43:59+00:00","article_modified_time":"2024-11-26T11:45:23+00:00","og_image":[{"width":1280,"height":1024,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID.png","type":"image\/png"}],"author":"Pritam Barhate","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pritam Barhate","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on"},"author":{"name":"Pritam Barhate","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"headline":"Facebook iOS SDK Tutorial : iPhone App Facebook integration with SSO (Single Sign On) FBConnect","datePublished":"2012-06-07T14:43:59+00:00","dateModified":"2024-11-26T11:45:23+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on"},"wordCount":745,"commentCount":0,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage"},"thumbnailUrl":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png","keywords":["App Development","Austin","Dallas","Facebook API","facebook sdk","facebook sso","FBConnect","fbconnect tutorial","Houston","ios facebook","iphone facebook","iphone facebook tutorial","iPhone FBConnect","iPhone Tutorial","mobile apps","San Francisco"],"articleSection":["iPhone - iPad"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on","url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on","name":"FB iOS SDK Tutorial : iPhone App FB integration with SSO FBConnect","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage"},"thumbnailUrl":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png","datePublished":"2012-06-07T14:43:59+00:00","dateModified":"2024-11-26T11:45:23+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"description":"With the release of iOS 5 came the concept of SSO.Click to know more on iPhone App Facebook integration with SOO(Single Sign on) FBConnect","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#primaryimage","url":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png","contentUrl":"http:\/\/https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2012\/06\/App_ID-300x240.png"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/iphone\/facebook-ios-sdk-tutorial-iphone-app-facebook-integration-with-sso-single-sign-on#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Facebook iOS SDK Tutorial : iPhone App Facebook integration with SSO (Single Sign On) FBConnect"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee","name":"Pritam Barhate","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","caption":"Pritam Barhate"}}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/1654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=1654"}],"version-history":[{"count":46,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/1654\/revisions"}],"predecessor-version":[{"id":32462,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/1654\/revisions\/32462"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=1654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=1654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=1654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}