How can I have single facebook sign in across two android apps - facebook

I have two android apps with two different package names. I want to use FB sign in to let the user sign into my app. How can I do it such that the user just have to sign in on one app and the SDK on other app automatically detect the sign in.
And how to do similar thing on iPhone in future?

Related

Facebook apps in 1 Firebase project

In firebase project settings page, you can create new apps by clicking Add App button, each app has different App ID, Package name, Bundle ID, etc.
Question is: Why is Add App button missing from Facebook section(Authentication > Sign-In Method > Facebook)?
Facebook lets you create multiple apps which have different App IDs and App Secrets
You can only have 1 Facebook app linked to your Firebase Project.
Having multiple apps in a single Firebase Project doesn't mean you can have different products. Multiple apps means you can develop the same product for multiple platforms (Web, Android and iOS).
For example, let's say you're building a product named "stackoverflow". You'll name your Firebase Project "Stackoverflow". But now you need to develop it to Web, Android and iOS. You'll then create 3 different apps in the Firebase console.
But all these apps will connect to a single Facebook app. Because they're all part of the Firebase Project named "Stackoverflow".

How to Trace Mobile App Install for share app ID across Apps?

I've two apps sharing the same app ID for Andriod Facebook login, which i would like to advertise both apps in Facebook mobile app install using optimization for App Install and charged for App Install rather than Impression, but it seems that i can only fill in 1 bundle ID for that facebook apps, any solution for this?
You should not reuse the same Facebook app ID for a second app.
One of the reasons is exactly what you are describing: you can only specify a single Android package name per app.

Adobe AIR Facebook login setup

I need to implement facebook login in Adobe AIR app for Desktop/Mobile.
I saw some docs on the code required for this.
My concern is, which platform should be selected in facebook apps console. Is it web ? Then what should be the web urls & where to place them ?
Well if you are building a mobile app, then you might want to select Android or iOS depending on the platform. If you are building the same app for both platforms then select any one of those and later under settings of your app dashboard you can click on Add Platform and add the other one. If your app has a canvas presence then you can add that as well later on. Regardless of what you pick initially, you can always add/edit platforms on your app dashboard.

Facebook Login in two different apps of one iPhone

I developed two apps with facebook integration in both the Apps , my requirement is if i opend one app and login to facebook account , and if i open second app it should login at the same time .
Thanks
nikhil.
This isn't really possible, since both apps would then have to use the same Facebook App ID.
And since the Facebook App ID is should be part of the App URL scheme, iOS can't see the difference between the two apps and will open the one installed last.
You can try an store the Facebook login data in the keychain and use that in the other app, but not sure if that will work.

Will mobile web apps ever gain bookmark distribution inside of the Facebook native iOS app?

I think bookmark distribution inside the Facebook native iOS app is a great opportunity. However, based on the table at http://developers.facebook.com/docs/mobile/support/, it appears that option is only available to native iOS apps. Does anyone know if there are future plans to make web app bookmarks available inside the native app?
It's possible that the bookmark feature within the native iOS Facebook app violates Apple's policies regarding content on their platform, i.e. a web app bookmarked within the Facebook native app would represent a different user experience from the one that was cleared by Apple when they let the Facebook app onto the App Store.
If this is the case, there will be no bookmarks available in the native app unless Apple changes their policy, or grants Facebook a waiver.