React Native FBSDK open App Invite Dialog in Webview - react-native-fbsdk

Is it possible to open the app invite dialog in the native facebook app or webview, similar to ShareDialog.setMode("webview")?
Currently the invite dialog launches the Safari browser, and has lead to issues such as having to log in again or not going back to the app but staying on Facebook after sending invites.
Thanks!

Related

Facebook In-App Browser Cannot Launch iTunes Link

When iOS Facebook's in-app browser loads my web page, I have a link there to "Download App Now" which links to the App Store Page, i.e.
https://itunes.apple.com/my/app/XXXXX/12345678?ls=1&mt=8
If this is loaded in Safari, it launches the corresponding app page in App Store correctly and users can instantly download the app.
However, if launched within Facebook's in-app browser, the browser shows a warning: "Leave Facbook? This web page is trying to open an app outside of Facebook. Are you sure you want to open it?"
If I click "Open App", nothing happens. I've tried changing the link using href, onclick, target=_blank and nothing works, basically FB app just failed to launch the external app page.
Is this a bug with Facebook app? I need the open app link feature as I'm showing a website and wish to redirect mobile users to download the app instead.
I'm using iPhone 6 Plus running iOS 8.1, and the latest Facebook app. I tried it in my iPad 4 iOS 7, same problem too.
Thanks!
As noted by WizKid, this is/was a known problem. It should be fixed with the most recent version of the app.

Deeplink in facebook app page in iOS not working

I have an app page in facebook. I have used Call to action feature to create Use app button in my app page.
I have an app in iOS. What I wanted to achieve is that when ever a user clicks on the Use app button from his iOS device (Safari or Facebook app) He/She should be navigated to the AppStore or App(if app is already installed).
What I get now is, whenever I click on the Use app button from iOS I get navigated to my website.
Anyone got ideas to fix it?

Open a post of page by native Facebook app on iOS

If the native Facebook app is installed on the iPhone. How do I open a post of page link into the native Facebook app from my app. In the case of opening by Safari, the link is same as:
https://facebook.com/mypage/post/< post_id >
thanks.

FBSessionLoginBehaviorWithFallbackToWebView opens in safari but not in webview

I have using Facebook login in my app. I am following guidelines of Facebook and using native app if it's installed. When native app is installed it works fine. But when it's not I am having a issue.
I specified FBSessionLoginBehaviorWithFallbackToWebView as LoginBehavior. But when app is not installed it opens up Facebook Login page in safari not in webView. I thought this behavior will open it in webView if Facebook app is not installed in user's device.
Do i need to use any other LoginBehavior to use Native app first and then webView not the safari?
Try this behavior:
FBSessionLoginBehaviorForcingWebView
It will not redirect to Safari

Users getting redirected to ios app when deep linking is turned off

Deep linking is turned off for our app
But when ios users click a link we posted on our facebook page to our page app (https://apps.facebook.com/nakedwines/), they are redirected to the ios app instead of our competition page.
If an ios user enters the link manually into their browser, this works.
Is this a bug or is there something not set up right?
Your issue is that when mobile users try to access your app they're brought to the app store (when the app isn't installed) ? That's expected, if the app was installed it would be opened directly.
If you don't have an IOS app, remove the IOS details from the app settings and they'll be brought to your mobile web URL instead.
The Deep linking setting allows users who click posts from your app to be brought into the app with sufficient context to allow your app to display a specific piece of content.
i.e links to your app's content are passed through to the native app with the full URL, and your app can open that content directly.
For example, clicking a link to a spotify song on iOS opens the spotify app and plays that song, without deep linking it just opens spotify with no context.
I ended up creating a completely new facebook app for the competition page. This got round all of the issues. Facebook doesn't seem to play well if you have both a page app and ios/android apps under the same application.

Resources