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.
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 want to make the application available in the Google/ third party market which can be used by anyone without using any login details on the cellphone. I want to add the same application to facebook later wherein people can access through Facebook. Basically, I want to allow users to directly access without login from their cellphone and Facebook users to access the application from Facebook Apps/Store/newsfeed.
I know we can add facebook login code. But, doing this will mean even the users accessing from Google Store or third party has to log in from facebook? Will it be possible to allow both ways?
In you case, yes it is possible.
With a simple conditional check you can activate or disable any feature of your app.
You didn't mentioned the language you are using to develop the app.
However, with an if condition check if platform is android or facebook.
If it is android, don't ask for login,
if it is facebook, get the
user details.
Simple, isn't it?
Yes it is possible you can use build flavors for that
for more follow below link
Build variants
I want to create an app that allows a user to post to Facebook, but I want this to view posts by other users using the app, so basically a blog app in between friends using the app. How do i go about doing this, what API's do i use?
You Need to Checkout,how Oauth2 Works and check the Facebook Sdk for android and ios,there is a sample application in the sdk package,try that it will help and make you know how to use it in your application.
I followed the instructions in the android tutorial and registered 2 native android apps in facebook. I got the ID, and so far as I remember, I put the key in as well.
I'm having errors with it now, so I'm trying to get back in and verify that I put the correct value in for the key...but I cannot get to any page that holds that info. Most links that I've followed so far just take me back to my facebook "Your pages" page, which has my account page, and a page for each of the two apps I've already registered. No link anywhere in those app pages takes me to where the key value is registered.
Even trying to create another app entry, via the tutorial, and following this link:
https://www.facebook.com/developers/createapp.php
just takes me directly to:
http://www.facebook.com/browse/admined_pages/?id=1000.....
I can't imagine how this could be any more frustrating....
Found it. It was under known "bugs". Apparently they allowed people to create business facebook accounts, and register apps under those accounts...and then regretted doing it, and so silently disabled all app access through those accounts. Yay, thanks guys. Here is the url that describes the problem and where to go to assign your apps (via the ID) to your regular-human facebook account. http://developers.facebook.com/bugs/133607873418215
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.