织梦CMS - 轻松建站从此开始!

abg欧博官网|登陆|游戏|

How to get LinkedIn URN

时间:2025-08-22 23:00来源: 作者:admin 点击: 1 次
I had the same issue and I found how to fix it. You can use this to get the user information: The returning json code looks like this: { "sub&q

I had the same issue and I found how to fix it.

You can use this to get the user information:

The returning json code looks like this:

{ "sub": "782bbtaQ", "name": "John Doe", "given_name": "John", "family_name": "Doe", "picture": "https://media.licdn-ei.com/dms/image/C5F03AQHqK8v7tB1HCQ/profile-displayphoto-shrink_100_100/0/", "locale": "en-US", "email": "[email protected]", "email_verified": true }

Here what you want is the "sub" field, that acts like the id to create the urn you need to post. Now you just have to follow the format: e.g - urn:li:person: + sub

One thing I had trouble with was the scope when authenticating the user. Pay attention to the scope required, here you can see what scope is needed:

I hope you can solve the error!

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-08-23 15:08 最后登录:2025-08-23 15:08
栏目列表
推荐内容