简体   繁体   中英

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 :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM