I've got a simple Facebook canvas web app. Works fine on desktop. We are trying to make it work inside the relevant android and iOS Facebook apps, without it popping the user out of the facebook app into the mobile browser.
This is no problem for Android. The canvas app url displays inside the facebook android app and keeps the user logged in.
However, the iOS version just shows: "Either this application has not configured its mobile web URL or the URL could not be verified as owned by the application. Unable to redirect"
If we add a Mobile Web URL, this solves the problem for iOS, but it then causes the Android to pop out of the facebook app and opens it up in a browser which requires the users to login to facebook again.
Any ideas / work arounds?
Related
Facebook login doesn't work on my android app.
I am using below Facebook SDK function.
LoginManager.getInstance().logInWithReadPermissions(activity, PERMISSIONS)
The web browser is opened and I faced the below screen by this upper line.
Sorry for Korean, the text means
You have previously logged into the X app with Facebook. Would you like to keep this right?
If I clicked continue/agree, there is nothing!
Just white screen...
But Actually, it works on another device!
I have two phones, and one works fine, but the other doesn't work!
The difference is web view.
Normal Case
The Facebook screen is opened on an internal web view.
Abnormal Case
The Facebook screen is opened on an external web browser app (Chrome)
I think that my app's callback is not called after the Facebook Login process.
Because it was processed on another app (Chrome).
If it was processed on an internal web view, it may work.
But I don't know how can I control it...
I'm using this on Kotlin its working fine but you have Facebook app already installed at your device
LoginManager.getInstance().loginBehavior = LoginBehavior.DIALOG_ONLY
We've built a web application which let you login with Facebook to get WiFi access. Since (i think) Android 4.4 you have this WiFi Signin dialog within Android.
If we use this 'popup' for signing in with Facebook, we are always redirected to the Facebook website.
Can we somehow force the application to first check for native Facebook apps before getting to the website?
i noticed that when I click on a Facebook App Url inside Facebook Mobile App on Android, the app is opened/redirect in the browser and not inside the Facebook app. Instead if I open the app in an IOS device, the app is opened inside Facebook app. Why? Can I have the same behaviour in Android device?
You can test the problem here:
Take an Android device
Open the facebook app and go to https://apps.facebook.com/1431973097077103 (you have to do a post with this link to click on it)
Android device redirect to browser, IOS device remain inside Facebook
Thanks!
I have developed a Facebook canvas app, which works fine on the Web, and iOS (mobile web view) however on Android, specifically a Galaxy S4, the app won't load and the Facebook app delivers a message saying:
"[AppName] is incompatible with your device. Please visit the App Centre to find apps for this device."
The mobile web URL is set and it works fine on iOS devices HTTPS certificate is correct and set properly.
Facebook's own documentation states that it will open the app in a web view if the mobile URL is set. However, I'm not even getting a request to my server from the phone.
Any ideas??
I fix this problem with the following steps:
Enter the facebook delevopers center and choose the app .
On the Settings tab , include the Facebook canvas platform and website (it's important to include both platforms and fill all fields).
In the App Details tab, go to the App center platforms listed and turn on the items "App on Facebook" and "Website - Mobile".
In the Status & Review tab, start a submission.
Wait for the approval of the facebook team.
After this your application will run on Android, iOS and Web.
I'm building a phonegap app which will install on android.
I want to somehow allow sharing features on twitter, etc. So you could create a 'post' in the app and people can share it on twitter probably linking to a domain containing the post.
Is there any way in phonegap to allow this link from say twitter (in a browser), to open in the installed app version?
The installed app follows the same url combinations as the web version.
My tutorial: TMT5P1 lets the user log in to their twitter account from the app. Then they can tweet, see tweets, mentions, etc from the PhoneGap / Android app. Twitter actions are integrated into the app, instead of making the user leave the app to go to twitter website.
Requires child browser plugin for secure login.