gpt4 book ai didi

ios - Linkedin v2.0 API - 如何获取个性化名称或公开资料网址?

转载 作者:可可西里 更新时间:2023-11-01 04:54:59 28 4
gpt4 key购买 nike

在 v1.0 中,我们可以使用以下 api 获取公开个人资料 url。

https://api.linkedin.com/v1/people/~:(id,public-profile-url,first-name,last-name,email-address)?format=json

但是在 v2.0 中,当我尝试获取 r_basicprofile 时,它​​会给我错误 403(您没有 get/me 权限),但是我可以使用 r_liteprofile 获取 ID、名字、姓氏。

https://api.linkedin.com/v2/me

我怎样才能获得 public-profile-url 或 vanityName?

谢谢!

最佳答案

不幸的是,您无法在 v2 中轻松获得 vanityName,除非您申请合作伙伴计划(正如 KPSingh 所建议的那样),但 LinkedIn 不鼓励您申请合作伙伴关系,如果您只想获得虚名

https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api-v1-migration

Please do not apply to a partner program like the Marketing Developer Platform if you are seeking access to member profile data that is not made available via the new “Lite Profile” permission. Access to partner programs is appropriate for select use cases only, and all other requests for access will be rejected.

此外,在 v2 中 r_basicprofile 被替换为 r_liteprofile 权限。

关于ios - Linkedin v2.0 API - 如何获取个性化名称或公开资料网址?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54240893/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com