canvas app mobile link - ios

We have a Facebook canvas app that is configured and works properly on mobile browsers. However, if I provide a link to that app on Facebook and somebody clicks the link from the iOS Facebook App, Facebook gives an error saying that the canvas app isn't configured properly. If I take the same URL and paste it into the mobile Safari browser, it loads just fine. What can I do to make it load properly from within the Facebook App?

Related

Is the Facebook login process fundamentally different for iOS vs. Android?

I'm an Android programmer and I hired someone to write an iOS version of a Facebook app I wrote. A dispute came up regarding the login process on both platforms. In the Android app, when I log in to the app the first time, I see a screen from Facebook prompting me to continue, but after the first time, I don't see the screen; I just go directly to the app. He claims that under iOS, we can never bypass the Continue screen: it always displays. In his words,
"Tip: In order to clear the login token totally you need to logout from Facebook in safari browser as well since we can't clear that token of safari browser programmatically. it is not permitted on iOS."
Is this true?
EDIT: Here's what my developer replied:
"I didn't explicitly set the login behavior. it should be selected as default value."
and
"The Facebook SDK automatically selects the optimal login dialog flow based on the account settings and capabilities of a person's device. This is the default sequence that the Facebook SDK implements:
Facebook App Native Login Dialog
Facebook App Web Login Dialog
Mobile Safari Login Dialog
If the Facebook account is not set up, the Facebook SDK checks to see if the Facebook app is installed on the device. If the Facebook app is installed, the Facebook app native login dialog is presented if it's supported. If the Facebook app native login dialog can't be displayed because there's an old version of the app, the Facebook app web login dialog is presented. If the Facebook app isn't installed, mobile Safari is launched to display the Mobile Safari login dialog." I'm not clear on how all this is relevant to the issue, though.

Facebook login in react-native WebView

I am developing a simple web browser (WebView) using react-native.
Everything works well except logging into Facebook.
The website has a Facebook login and when I tap it, it takes me to the in-app mobile Facebook login page. Entering the correct user/pass redirects me to /dialog/oauth?redirect_uri=https://staticxx.facebook.com/connect....... and I get stuck there.
Without using react-native-fbsdk how do I solve this?
Using the same site on desktop and mobile safari works well. (Although it opens a new tab).
Trying https://meetup.com fails as well but https://vimeo.com works well.
Is there anything I should be aware of or is it a problem with the websites?

Open URL in phone's web browser instead of 3'rd party app's webview

We developed a website in which users can sign in using their google account. This works fine. A lot of people have shared our app link on Instagram.
The problem is, when users of Instagram click on our website link, the ios webview is used (internal browser in Instagram). This prevents people from signing in to our app and are presented the following error:
What's the solution to this?

Facebook oAuth missing Continue button when in-app browser

I have a website which also is accessible from an iOS app using an in-app browser.
When trying to sign up using the iOS browser it takes me to Facebook's login page where I first log into Facebook, then I see the app's icons and statement what Facebook will be accessing and that this doesn't allow the app to post on my Facebook. But the continue-button is missing.
When accessing the same page using a desktop or mobile browser (have tested both Chrome and Safari on mobile), the continue-button is there as it should be.
Screenshot of in-app browser with missing button.
What should I do? :)
Thanks in advance
Edit: Spelling

keep Facebook authentication when accessing webpage thru UIWebView after login with iOS SDK

I have successfully integrated the facebook ios SDK in my app so that user can post to their wall through a feed dialog.
However, I would like to post an open graph object through my app but since this is currently only supported on webpages (is this correct?), I suppose I can load the webpage with the meta tags inside a UIWebView. If I do so, however, I believe user have to authenticate my web app as well?
Is there a way to not need the user to authenticate my web app inside the UIWebView when they have already login through the iOS SDK? I would like to keep the iOS SDK login process because it doesn't require user to enter their facebook details (assuming they have the facebook app installed of coz)
thanks much in advance!
it looks like i am able to post feeds in UIWebView after logging in with the iOS SDK. I did logout of facebook on my safari app just in case....

Resources