Can't connect with facebook through facebook app on ios - javascript

My problems is kind a strange. I created facebook app, to which I connect via js through iFrame. dummy link : http://kvizblic.com/test/koliko-staro-izgledas
I plugged that iFrame on other subdomain of the same site, and everything works fine. But when someone share my quiz on facebook, and you try to open the quiz through facebook app(not browser), and click on "Login with Facebook" nothing happens. This happen only on iPhone. If I try to do the same thing on android or desktop, everything works fine.
Maybe this is confusing, so once again.
My quiz is loading through iFrame on other subdomain of the same site. Quiz have Login with facebook button. When you click on that button, I contact facebook for your data via js "FB.login" and everything works fine.
But if you visit the same link through facebook app(after someone share it), and not browser, Login with facebook doesn't work. That happens only on iPhone(haven't check iPad). On android everything works fine.

Related

How to deep link to an app without asking user?

There is a website called url genius.
How it works: you choose Instagram for example, you write your profile link, and then it creates a deep link, when you click on it either you're on iPhone or Android, it open directly the app WITHOUT ASKING "DO YOU WANT TO OPEN THIS LINK IN THE APP"
I tried to replicate this with some JS, my code first detect which device the user is on, then :
if the user is on Android it redirects with a window.location.replace to intent://www.instagram.com/profile/#Intent;package=com.instagram.android;scheme=https;end
if the user is on iPhone it redirects with a window.location.replace to instagram://user?username=profile
MY PROBLEM:
The link doesn't open directly in the app, it first asks to the user "do you want to open the link Instagram app". So how does URL Genius manage to redirect directly the user?

How to launch an android app from website

I have an android application, which I want to launch from the website.
Here is the condition: If user had installed that app previously then give the option to open it, if not then go to the play store.
I used this code in my website:
Click me
It is working fine.
Now what I want that when a user searches my website on Google and the link appears, if someone clicks on that link it will open the app.
As well as this code:
Click me
is not working if I put this into a function like:
launchApp:function(){
$window.location.href='myapp://link';
}
this is not working.
How do I fix these issues?
Create an Intent filter for the main activity/ the activity which you want to open, something like this: https://stackoverflow.com/a/31404717/7527995

Branch.io deeplink not working in my browser

I created the link in the branch.io dashboard. https://app.zebpay.com/zFAzt88rcT but the link is not working when i opened it in the browser.
I also tried the journey mobile banners they also not changing the button text to the open when I already installed the app on my mobile.
I already added the web sdk code on my website.
The link does not seem to be a valid branch custom link. Please contact integrations#branch.io to troubleshoot this domain and link.

inappbrowser shows white screen after fb share

I have open a web view of a website in inappbrowser. fb share of website works fine on the desktop and native browser of phone. In the app web view fb share works perfect but after fb share inappbrowser shows white page it does not redirect to the website.

facebook login not working for the first time in ios

I am trying to integrate Facebook Login in my Sencha application.
The problem is when I click on facebook login button which calls the promptLogin() function of Facebook, facebook login screen is not popping up but at the same time when I pause the application and resume back to the same, it pops up. I am using Facebook-cordova-plugin
Can anybody help me regarding this?

Categories

Resources