如何从 URN 或 id 获取 LinknedIn 帖子的 URL? [英] How do I get the URL of a LinknedIn post from the URN or id?

查看:29
本文介绍了如何从 URN 或 id 获取 LinknedIn 帖子的 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过 API 向 LinkedIn 发帖,并获得返回帖子的 URN/id,但我不知道如何使用返回的 URN 获取帖子的实际 URL.我在 API 文档中的任何地方都找不到相关信息.

I am able to post to LinkedIn via the API and I get the URN/id of the post returned, but I don't know how to get the actual URL of the post using the returned URN. I cannot find the information anywhere in the API documentation.

推荐答案

如果您有共享或 ugcPost,以下 URL 有效:

In case you have a share or ugcPost, the following URL is valid:

https://www.linkedin.com/embed/feed/update/<urn>

或者,对于嵌入的内容:

or, for embedded content:

https://www.linkedin.com/feed/update/<urn>

例如:

https://www.linkedin.com/feed/update/urn:li:share:<share-id>

https://www.linkedin.com/feed/update/urn:li:ugcPost:<ugc-post-id>

来自测试组织的工作链接:

https://www.linkedin.com/feed/update/urn:li:share:6743008621090611200

这篇关于如何从 URN 或 id 获取 LinknedIn 帖子的 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆