How do I upload a photo / image to LinkedIn via API?

久未见 提交于 2020-01-02 05:11:10

问题


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?


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/29053529/how-do-i-upload-a-photo-image-to-linkedin-via-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!