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.
Related
We currently developing an app for two platforms, iOS and Android. The development state of the iOs app is more advanced than the state of the Android app. We need facebook for authentication and we also want the “publish_actions” permission to post open graph actions on the users wall.
For our iOs app we reached a level were we want to submit for review. Unfortunately this is not true for the android app.
As far as we know we have to remove the android platform from the Settings (https://developers.facebook.com/apps//settings/) if don’t want that facebook review it. But if we do this our android developers are not able to use the facebook authentication and therefore they can not work on the app in a proper way.
Our question: is there a way to submit for review for iOs only without losing the possibility to develop the android app? Or should we send our "not ready" android app to facebook review?
So, we found a working answer by ourselves.
On the facebook developers website we added a new app. There you can choose if this app should be a test version of an existing app. If you say yes, you get a ready test version of your existing app.
After that you have to direct you “development versions” of your app to the new app id etc and do not forget to test it. For example in ios you have to set FacebookAppID and the URL Schemes to the new AppId and AppName.
If it works you can remove your “not ready for submission” platforms from the settings of your normal app (not the test version) and submit for login review.
I have an app on both iOS and Android that has the option to login via Facebook.
If I register and login from Android, I can use that type of login on every Android device ( just enter Facebook mail and password and login is ok ). If I use the same account on iOS, the register screen appears. Same thing if I first register the account on iOS and then try to use it on Android.
I'm getting different Facebook user ids on the 2 operating systems. On Android I use socialauth from Google, and on iOS I use the details from the integrated Facebook app.
The id is stored on a server and when an user try to login with Facebook it compares the id with the one stored.
How can I generate an unique Id both on Android and iOS for the same account?
I assume you are using 2 different Apps. You need to use the exact same App to get the same User ID, you don´t get the global ID anymore but only an "App Scoped ID". Check out the changelog for more information: https://developers.facebook.com/docs/apps/changelog
Thanks for the reply. I fixed this issue by registering the app on https://developers.facebook.com/apps and setting the iOS and Android details. Also I changed to Facebook SDK on both platforms.
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'm integrating some facebook features within an android app. For testing I've made a facebook app of my own, but its likely that the client will create his own fb app and want me to swap the info of my app with theirs after the testing is done.
Since for android, you need to provide a signature/hash key to your android app in your facebook app dashboard, does this mean that my android app is always tied to the same facebook app, or can the credentials easily be swapped in future?
As long as the app is still in development and not already released to the Android Play store, you can always just change the value of your APP_ID in the app to replace yours with the client's fb app id. The signature/hash key should be the same as long as you're building the app on the same machine.
So when your app is ready for the client,
have them tell you the app id so that you can replace it in the code
give them the android key hash that you are signing the app with (make sure that you use the correct key and not the android debug key if this version of your app is going live into the app store) so that they can put it in their app dashboard on Facebook.
I think that is about all the steps necessary to solve your issue. Let me know if that helps.
You can put your signature/hash key in any number of facebook apps so there should be no problem.
Furthermore, the facebook app can have as many android signature/hash keys and can be replaced anytime. Try it in the dashboard to confirm.
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.