Reputation: 33
I understand the necessity of establishing a partnership with LinkedIn to access their "Profile API." However, I have an unrelated inquiry.
I'm considering creating a mobile app that enables users to access the URL of their own LinkedIn profile (https://www.linkedin.com/in/vanityName). Let's assume the user is already logged into their LinkedIn app on their phone.
Could you recommend some methods to accomplish this? Could Puppeteer be a viable option?
Upvotes: 0
Views: 267
Reputation: 1663
It is impossible for one app (the one you write) to access data from another app (LinkedIn), unless the other app specifically exposes it. And LinkedIn does not expose the name of currently logged-in user.
So what you are asking is not possible, by design.
(Unless user's phone is rooted/jailbroken and you use special permissions to bypass system protection. But I am guessing you want this to apply to all phones. Plus, even on rooted phones you need to explicitly grant special permissions to app, and people don't grant those without a very good reason.)
Upvotes: 3