I've integrated Memberstack's LinkedIn OAuth plugin to my webflow based website
I'm able to retrieve LinkedIn's first name, last name and email fields
However I also needed the profile URL
Wondering how can I get them
Any advise is appreciated, please
4 comments
Hi Saptharishi, I will check with the team. However, I don't think we have an option to pull that information. We'd need to update our LinkedIn integration. I'll see what we can do.
In the meantime, can you request the profile URL from the user manually? I know that's not ideal, but I believe it's the only possible solution available today.
hey just Fyi Saptharishi and Duncan this is insanely difficult. I spent almost a year dealiung with bugs around this so the only way you can achieve this is with nextjs app router using next-auth version 4. Do not touch better auth or next-auth@beta (v5). unless you love torture. Tanstack query doesnt do shit and using better-fetch to manually api this out regardless of promises made isnt possible. All LLMs and AI are incapable of helping so dont even try just trust me on that. Been doing ML dev for while and challenged every modekl on this since gpt-2
Hate to say this but you should MVP this out. Let go of any need to automate this and just ask user to paste it in. I know its gross but at least you can launch a product that way
and no, grabbing cookies via node-fetch or fs isnt secure or viable. Its even harder unless youre purely scraping via your own tokens and headers
Please sign in to leave a comment.