如何从URN或ID获取LinknedIn帖子的URL? [英] How do I get the URL of a LinknedIn post from the URN or id?
本文介绍了如何从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屋!
查看全文