Open specific Facebook profile from Xamarin iOS app - ios

I've been trying to use deep-linking to open up specific profile pages on the Facebook app, but so far it will only open my own profile. The general format should be fb://profile/<id> unfortunately every time I use this I am directed to a page that says Profile Unavailable. The specific example I am using is with my colleagues ID so from my app if I wanted to go to his page I would open the URL for fb://profile/10206768458598300. Is there a new format for finding profiles? I have found no other solution for opening a Facebook profile from within my app besides opening an actual webpage, having the user sign-in, and go to the actual profile URL of the person.

We don't currently have any officially supported way to open a profile in the Facebook app.

Related

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?

Universal Link does not work in Safari

I have implemented google sign-in in my app. The problem is when I go to Safari for the sign in I want the user to be redirected back to my app.
The first approach that I tried was using Custom URL scheme. This worked, however the user was shown a pop-up saying 'Do you want to open (app name)'.
It appears the solution to this pop-up is Universal Links, which I have implemented. I can seamlessly now navigate to my app from Notes and other apps. However, when I tried this inside my app, it doesn't work and the user is redirected to the website instead of the app.
For testing, I created a website and added a button to it, which was linked to my original website. When I open that website in Safari and click the button, my app opens. So why doesn't the redirection from google sign-in to my website open my app?
Universal Links do not work with automatic redirects. They must be triggered via some sort of user action. The link URL also needs to be on a different domain/subdomain from the page where the link is being clicked (e.g., example.dom and link.example.com).
Based on your description of link behavior from Notes and other apps, it appears your configuration is correct and you are simply attempting to do something that Universal Links does not support.
For others who find this question via Google and do not have links from Notes working correctly, try the Universal Links validator tool from Branch.io (full disclosure: I'm on the Branch team).

IOS Apps login via Linkedin authentication SDK

i'm created a IOS app in Xcode7 using swift , and now i am trying to integrate LinkedIn authentication to login into my iOS app.
So i created a account and application in LinkedIn developer site..
But my requirement is to use the same LinkedIn application account to login into my all iOS apps.is it possible?
i heard about deep linking concept.Any one know more about that?
Is it possible?
Yes it is. In your app preferences, go to Mobile > iOS preferences, then add the bundle ID of each app you want to be linked with LinkedIn.
Deep linking : Any one know more about that?
It allows you to bring users into a more specific part of your app that is not home page. For example, after opening a notification, you can bring user to a specific post into your app. That is an example of using deep links. Nevertheless, I don't think it is what you are searching for.

Open LinkedIn profile page from ios native app

I want to directly open LinkedIn app (already installed) from our app. I followed the LinkedIn deep link URL scheme like:
linkedin://profile?id=35932112
The LinkedIn app opens and shows the target person. However, when it is above 3rd degree connection, it shows very limited information and asks to upgrade to premium account. But if I navigates to other persons within LinkedIn app, I can still see the full profile even above 3rd degree connection.
Did I miss anything? Is it LinkedIn policy or I have to do some more configurations?
Thank you very much in advance!
Try using the profile's public url instead, it's working well for me. The LinkedIn app will intercept it and open to the profile instead. The url is usually right under the profile picture and has the following format:
https://www.linkedin.com/in/userid
That's right, you cannot display information based on people that are not your primary connections. On newer versions of the app they restricted it even more; now it returns an error for second and third connections.
There is a way to do that but it's not that straight forward. Not sure what your logic is like and will it be helpful but it's something.
So when you login with LinkedIn you can request the public-profile-url property, it will be returned in the result as publicProfileUrl and then you can save it in your backend. This way it will be saved for all the users that has authenticated for the app. When you try to open that link it will open the LinkedIn app or Safari with that profile.
PS: Hope this helps someone, I can see you question is some time ago :)

Facebook "Unable to update association between Page and App"

I am an iOS developer that recently integrated the Facebook SDK into my company's mobile app. We already had an existing business page, and as an admin of that page I tried to "Create an App" - to which facebook told me I needed to do so from a personal account. After logging in to a personal account I created the iOS app following the directions, and everything thus far works 100% for the exception of one thing - linking facebook shares from the iOS app to our business facebook page via the web (not the app). In other words, when sharing information from our app, inside of the share dialog on facebook when users click on in "John Doe shared a link via ", I want users to be directed to our facebook page. I currently have it working so that if the user is on facebook using the mobile app and they click on the share it takes them to the app store if they dont have the app or opens the app if they have it, but if they are on their computer and click on the company name I want to direct them to our facebook page.
After becoming an admin for the business facebook page on my personal account, I was able to go to "Manage Apps", "Edit App", and then "App Details", where there is a section to "select an existing facebook page" that I am an admin for. The dropdown includes the business' facebook page, and after selecting it and then hitting save I am given the following message:
"Error. We were unable to update the association between your Facebook Page and your app. Try again later."
This has been going on for a few days now. Does anyone know what the issue is?
This error seems to crop up for a multitude of reasons, so you'll need to check a few things :
Under the "Settings" for your application, make sure Sandbox Mode is still disabled.
Verify that your App Id and App Secret have not changed.
Make sure the page is categorized as an App Page (and can be found under Brands & Products)
Make sure the Page name contains your app name.
Apparently this was a known issue with Facebook, and has since been fixed by them.
https://developers.facebook.com/bugs/1483912231834857

Resources