How do I upload a photo / image to LinkedIn via AP

2019-05-01 03:05发布

LinkedIn has a /share API endpoint which accepts a link and a message. The link is afterwards expanded to an OpenGraph card and that gives you a way to stick an image preview in there, but it seems there's no other way to upload an image/picture to LinkedIn feed like you can do in the web app itself.

Is there a way, private API, undocumented endpoint or some other way to do that?

2条回答
来,给爷笑一个
2楼-- · 2019-05-01 03:22

No. You need to give us the URL and we'll scrape it (or pull it from our cache).

查看更多
ゆ 、 Hurt°
3楼-- · 2019-05-01 03:33

Creating a rich media share is done in two steps. First, the media is uploaded to LinkedIn's media platform. Then, a personal or organization share referencing that media is created.

This URL might be help you. https://developer.linkedin.com/docs/guide/v2/shares/rich-media-shares#upload

查看更多
登录 后发表回答