程序员最近都爱上了这个网站  程序员们快来瞅瞅吧!  it98k网:it98k.com

本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长

+关注
已关注

分类  

暂无分类

标签  

暂无标签

日期归档  

暂无数据

LinkedIn share API issue

发布于2023-05-25 21:25     阅读(1050)     评论(0)     点赞(20)     收藏(5)


I am making an app in order to post an image to LinkedIn.

The problem is that it's not working for images. I use my uploaded image URL in submitted-image-url in order to post my image with a caption but unfortunately, it just uses a thumbnail of my image.

What can I do to post my image? By the way, I use PHP.


解决方案


Currently, as of May, 2020, LinkedIn only supports the url parameter in its share URL. So, you'll have to share the image by making it a linkable file and then share the URL to the file, like so..

https://www.linkedin.com/sharing/share-offsite/?url={url}

Source: Microsoft LinkedIn Share URL Documentation.

If you are interested in a regularly maintained GitHub project that keeps track of this so you don't have to, check us out! Social Share URLs

Social Share URLs Image



所属网站分类: 技术文章 > 问答

作者:黑洞官方问答小能手

链接:http://www.phpheidong.com/blog/article/546137/5d9b30a4c705ec597fa6/

来源:php黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

20 0
收藏该文
已收藏

评论内容:(最多支持255个字符)