Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to support both Facebook Login and Google Plus login in the same iOS app?

I integrated Google plus login in my iOS App. But I dont know how to add FB integration in the same app. Is it possible to use both logins in the same app?

like image 335
Anand Avatar asked Nov 18 '13 11:11

Anand


People also ask

How do I link Facebook and IOS?

Linking with Facebook/Apple IDFrom the Home tab, tap Settings > Account. 2. Tap Link next to Facebook. Tap here to open the Account screen from your smartphone.

Is it possible to have two Facebook accounts with the same email?

It is possible, however, that you have an account and one or more pages that look similar. There is one scenario in which you could end up with something approximating two Facebook accounts linked to the same email: when you have multiple email addresses for a single email account.

Is a Facebook page the same thing as an account?

But there is a Facebook feature that might be the source of all this confusion: the Facebook page. And a page is not the same thing as an account. Most of the time. Become a Patron of Ask Leo! and go ad-free! Facebook doesn’t allow an email address to be used on more than one Facebook account.

What happens if you don't have a Google account on iPhone?

Note: If there's no Google account on any of your Google apps, your device will be signed out. Download the apps of your favorite Google products, like Gmail or YouTube, to use them on your iPhone or iPad. On your iPhone or iPad, open the App Store. Find and download the app you want.

How to integrate Facebook features into your app?

Integrating Facebook features into an app is nowadays a quite common task, and one of the most important steps in the integration process is the login functionality implementation. Logging in with Facebook not only allows you to attach a social characteristic into your app, but it can also be used as a login system instead of creating a custom one.


2 Answers

Since u are added the Google plus, every thing is same for adding the FB login

enter image description here


- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
 {

  return ([FBSession.activeSession handleOpenURL:url] || [GPPURLHandler handleURL:url sourceApplication:sourceApplication annotation:annotation]);

 }


hope this Helps :)

like image 65
Shankar BS Avatar answered Oct 01 '22 19:10

Shankar BS


@Anand You can use FBConnect SDK and nothing add in this method

   - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url 
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation

just use that sdk and enjoy....)

like image 35
Raju Avatar answered Oct 01 '22 20:10

Raju