Facebook call to action ios app link - ios

When trying to use Call To Action button into facebook to add "Use Application" button on my page, it asks for my ios app link but I don't know what to fill there. I've tried many things without success :
myAppName://
myBundleId://
myStoreId://
Do you know how to build that app link please ?
Thanks in advance.

The Facebook documentation on App Links should help you with your problem:
https://developers.facebook.com/docs/applinks
Basically you need to setup a URL that has <meta> HTML content which Facebook uses to identify your app and deep link to it. You will need to configure for deep linking in your app too.

Related

How to create my app link to open in browser in iOS Swift

I need to open my app when we click on skip this form button which is in stripe page... here if i got app link then my backend team will add that link but.. how to make my app link
how to create my project app link in ios swift to share backend team to open in browser. please guide me
First of all to launch your application you should have an URLScheme defined for your application:
Please check out this Apple's official documentation to understand how it's done.
Secondly, in your case to your launch on tapping Skip this form you have to open the URL Scheme defined for your app.
For eg. IF the URLScheme for the app is defined as myStripeApp
The action on the page should be trigger something like below
<a href= myStripeApp://>Open my Stripe App</a>

Firebase Deeplink not redirecting to app if select goo.gl

I'm integrating firebase in application. I created universal link that worked for Android & iOS both.
This worked great. BUT I got scenario where I clicked on goo.gl (PFA) link which was displaying on launched app right-top side. And from then no matter what I do, Deeplink will never launch my application.
I checked to clear history of device-browser but it's same. Any suggestion how to get rid of this issue/feature ??
You're absolutely right: the forward button is horrible UI/UX. It's one of the big flaws with Universal Links identified in this blog post. There is no way to disable the forward button, and once it's triggered, you're screwed.
The easiest way to re-enable Universal Linking behavior after it is turned off is to long-press on the link. Your best bet at getting a clean shot is to paste the Universal Link URL into the stock Notes app and try long-pressing it from there.
Long hold on the url and there will be option to open in app.
Usually when you click the "forward" link to open the universal link in Safari, you can re-open the app by dragging the page down. A bar will appear with your app name and an "OPEN" button. This works as long as you're still in the same URL.
Unfortunately, for Firebase Dynamic Links specifically, the link will redirect you to another domain (for example, from https://z99zz.app.goo.gl/zzzz to https://z99zz-c.app.goo.gl/zzzz) and this breaks this feature. The solution is to either add ?d=1 to the original link (https://z99zz.app.goo.gl/zzzz?d=1, opens a link debug page), or just remove everything after the domain (https://z99zz.app.goo.gl/, opens an error page). Now when it opens in Safari, you can drag down and see the bar.
In addition to imgx64 post. I had a similar problem: Firebase redirected to z99zz-c.app.goo.gl/zzzz and in this case system was not redirected to my app. I added "applinks:mzn3g-c.app.goo.gl" as Associated domain in my target capabilities and this does the trick! Even if you redirected to domain with "-c" suffix iOS can recognize it and will redirect to your app and show suggestion in Safari

Deeplinking - Open iOS app from a URL

My project is in SWIFT
User receives an email with Change Password link and the link is going to be like this http://foobar.com/something/reset_token=barfoo
When user taps on link 'Change Password' it should take him to my iOS app to that particular view controller. I know deeplinking but my URL is going to be like this http://foobar.com/something/reset_token=barfoo and not deeplink://
Please help
If you are targeting iOS9 and newer, you can use Universal links
It allows you to redirect the user to your app from an URL (classic http/s), but he can stay in Safari if he really wants to.
You can found the result in action and a good article about your specific case here:
https://blog.curtisherbert.com/ios-9-universal-links-and-forgotten-passwords/

Link to open up iOS app from facebook and twitter page and other ios app?

Hi I have a requirement in my app. From my ios Application(myapp),i share a link to facebook. Then I opened up my facebook account in browser or Facebook application and clicked the link, link should open in myapp if myapp is installed in the device otherwise link should open in browser. How can I achieve this ? Please suggest me step by step. Thanks in advance for your consideration and help.
I am not sure if this is possible. I have looked at various questions including
Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?
as I am sure you might have already done but these questions target their own app, mainly web app, but you want that behavior to occur from an app that is not yours like twitter or facebook. But what you can do is show them two links on facebook/twitter, if they have installed press link 1 and if they want to install, press link 2 and you can pass parameters in link 1 as you might already know.
I will also keep checking answer of this question if some one comes and gives a better solution.
There is an option called custom URL scheme in iOS. It will help you to create a URL scheme which identifies your application. You can post link with this URL scheme and when you tap on this link on your iOS device it will open up your mobile app. Please see the link below to know how to setup this.
Custom URL Scheme in iOS
This is called 'deep URL linking'. Facebook have built a service called 'App Links', which seems pretty cool.
https://developers.facebook.com/docs/ios/app-links

custom URL Scheme in iOS 6 not working?

My app uses a custom URL scheme so i send a link to my users in an email which when clicked, launches my app installed on their devices. This was working seamlessly till iOS 6 came into picture.
Now when the users click on the link or even type the address manually in the safari they get an error saying "Safari cannot open the page because it is a local file."
Wondering if anyone else encountered the same or if someone has any pointers in this regard !!
Any help much appreciated...
Update: it works if I only give my app's custom url without any parameters.. e.g. if I do "reader-app://" it launches my app but if i do "reader-app://doc=xyz" it doesn't !
try: reader-app://?doc=xyz (add a question mark after //) this way you'll specify a query string. It works for me, but it presents an alertdialog asking the user if she wants to open the url with my application
Try to remove the - sign from reader-app://.
My URL was not working until I removed underscore sings from URL.
Ex:
my_app:// is not working.
myapp:// is working.
That is just a guess.

Resources