Can I have multiple apps in AppStore and PlayStore use single Facebook App? For example I own a brand and launch 3 or 4 or 5 apps under the same app on the both platforms. I want to have shared friends list between them and maybe some other things.
Yes. You can. See here
You can use one Facebook app ID in multiple Android apps. Just use the
same app ID in another app for login, sharing, and so on.
For deep linking and opening your app through notifications and other
means, we only support a single package name/class name combination.
Related
I'm trying to setup deep links from a Facebook Ad to an app that I do not own (Shopee). Shopee does not provide any facility/guides to deep-link to them at the moment. I've tested that the app has properly setup deep linking on Android, i.e. clicking the link https://shopee.ph/Korean-Mini-Cute-Sling-Bag-i.30650129.2385916193 on Slack or Gmail properly opens the Shopee app.
Is it possible to make deep links work on Facebook for apps that you do not own? So far, I've tried doing the steps detailed in https://developers.facebook.com/docs/app-ads/deep-linking/. However, I don't know where to get some of the platform settings needed by Facebook:
iOS
Bundle ID - where can I get this?
iPhone Store ID - Seems this can be easily taken when visiting the app store. I can get some of the details from https://shopee.ph/apple-app-site-association as well.
iPad Store ID - Similar to iPhone Store ID I guess.
Shared Secret - I'm someone who has no experience with iOS and Android programming. I'm afraid this setting is something that I couldn't get?
Android
Google Play Package Name - Should be com.shopee.ph
Class Name - I think this can be known by going through the app's apk/files
Key Hashes - Can this be taken from the app's apk/files as well?
I tried compromising by linking the Facebook ad to my website that has deeplinks. But clicking the links will just redirect Facebook's webview to the product's web info rather than opening the app.
I guess this question boils down to whether it's possible to get the app's Shared Secret for iOS and the Key Hashes for Android.
Any response will help me go to the right path or end the path altogether. Thanks.
Sorry, but if you don't own the app then you shouldn't possess shared secret and key hash of the app.
Shared Secret and Key hashes both are something that is very specific to the app created. It is mostly controlled by the app owner in case you need it you have to get that transferred from the app owner. But I doubt anybody will do that.
Also, this is some kind of hack that you are doing this should be definitely avoided without permission from the app owner.
If you are the owner then for
- Android you can try this url.
Have you tried with Android Intents? They can directly link to an app (including deeplink information). Of course you wouldn't now if its installed through adds beforehand. Firebase Dynamic Links solves that problem where you can decide to link to website or Play/App Store as fallback. They also open the native app from facebook browser (and others) and use Android Intents under the hood.
Think you can't use Firebase Dynamic Links for an app you don't own. But if redirecting to your own website is an option maybe you can implement a similar mechanic.
Here is the chrome documentation for Android Intents:
https://developer.chrome.com/multidevice/android/intents
Adjust also has a summary article about deep linking, covering Intents and iOS:
https://www.adjust.com/blog/dive-into-deeplinking/
As your expected behavior to open app but now it will just redirect Facebook's web view to the product's web. Unfortunately it is not currently possible to directly launch a third-party app from within the iOS Facebook app. This is a known issue that Facebook has essentially written off as wontfix. This is still possible in the Android Facebook app, but it's unfortunate they haven't been more transparent about the change to the iOS version because there is quite a bit of confusion about it.
But you cna do the same thing using services like Branch.io get around this by implementing a judicious combination of App Links, URI schemes, and iOS Universal Links. Essentially what you need to do is open a page in the webview and then have a button or other user-driven CTA event that launches the app from there. It's an extra step for the user, but currently the best workaround. If you just want to be able to post a link that goes into your app when it is installed and otherwise goes to a webpage (or the App/Play Store), then Branch links are definitely your simplest solution.
I have similar iOS and Android apps, and both need publish permission from Facebook. Do I need to send both apps for review, or it will be enough to send just one app?
Yes, you have to apply separately for every platform. For every platform, you have to provide a demo app, and for every platform, you will separately receive permissions.
While integrating facebook with your android app,you need to add your Android development key hash to your Facebook developer profile to generate a key hash.
However, If you already have a Facebook app with an App ID that represents the same app on another platform, you can use the same app ID for iOS.
i know this question looks like been asked several times.
But there aint a clarity of answer .
Share a Facebook app ID across apps Android
My requirement is i already have a app with the bundle id [com.mycompanyname.app1]
Im going to push a lite version of the same app by the name com.mycompanyname.app2]
I already have a facebook app for app1.
i don want to create another fb app for app2 as it would divide the user access.
If this is doable let me know how i can do it ?
Thank you guys
Actually, it's very simple. You just need to use the same keys and credentials that you used for your first android app in your next app. It will work. When you go to Firebase settings, you can see that you can add another android app, but authentication settings are common for both your apps. So you do not need to change anything. As mentioned in comment, app package that you specify in Facebook console, is used only for deep linking. It does not matter for authentication.
I'd like to create an ad on Facebook that targets mobile users in order to engage them with my app. The ad must open my app when the user clicks on it in case the app is already installed. Otherwise, it must take him to the Play Store.
I read the following tutorial that shows how to achieve what I want using a news feed story.
http://developers.facebook.com/docs/howtos/androidsdk/3.0/link-to-your-native-app
Unfortunately, it doesn't say anything about ads. I also read about app install campaigns, but they are only shown to people who don't have my app installed.
I want to offer discounts through my app to a segmented group of people on Facebook. That's why I need a campaign that handles deep linking and app installs.
Now it seems to be supported:
https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads-engagement/
I have two apps which have same name and same functions. One in android market and one in app store. Currently only with iphone app you can post your score on your facebook wall using the facebook app i created. My question is can i use same app for android also to post the score on user's wall? Will it create any problems if i do that?
Yes, you can use the same application ID. You should, in fact, as it'll prevent you from having analytics and user permissions split between the two.
On the facebook developer page you can set how you will use the login account. Than you can select mobile application and set Android and iOS.
whatever you use for creating app either iPhone, android, blackbarry etc. same app id used in all mobile application.