对 API 的变化感到困惑

Confused about the API changes

自从 LinkedIn 支持转移到 Whosebug 之后...我们开始吧。虽然这似乎是一个愚蠢的问题...

LinkedIn API 将在不久的将来迁移到 v2,但我不确定哪些数据将真正保持可用(不成为 LinkedIn 合作伙伴)。

我一直在阅读 API v2 文档。这谈到 r_basicprofile(我在 v1 中使用过),但这将被替换为 r_liteprofile。 (我引用:"This API will only recognize a new “Lite Profile” permission, which supports a reduced set of member profile fields.")

因此,r_liteprofile 只有几个数据字段(名字、姓氏、娘家姓、个人资料照片)。将来,我如何从中获取 LinkedIn 个人资料 URL?还有其他一些不一定是隐私敏感的信息?

如果我尝试通过 r_liteprofile 获取更多数据,它不会显示它们,根据 r_liteprofile 文档,这是预期的行为。但是我应该如何从我的应用程序 link 到人们的 LinkedIn 个人资料? LinkedIn 不希望人们通过其他网站回到他们的平台吗?

所以,总而言之: 3 月 1 日之后,是否还有办法获取个人资料 URL,或许还有标题和行业 ID?

显而易见的答案是 "no you can't"。我只是希望 "yes you can".

来自迁移文档:

"Looking to maintain access to the Basic Profile fields? Learn more about applying to a LinkedIn Partner Program."

https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq?context=linkedin/consumer/context#what-are-the-main-differences-with-the-new-sign-in-with-linkedin

您可以通过在url中指定它们来获取更多字段:

https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,profilePicture(displayImage~:playableStreams))

您可以在此处找到更多字段https://docs.microsoft.com/en-us/linkedin/shared/references/v2/profile

简而言之:从 2019 年 3 月 1 日开始,如果不申请 LinkedIn 合作伙伴关系,就无法维护 r_basicprofile 字段(届时将从 LinkedIn API v1 过渡到 v2 ).