linkedin share

本文介绍了LinkedIn分享功能的具体参数设置方式,包括如何正确配置URL、标题、摘要和来源等信息,以便用户可以在LinkedIn平台上更有效地分享内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

分享的时候linkedin 也是去url上抓取信息的

但他和facebook share不同的是, 如果你提供了title和summary

他的title和summary参数是可以替代<head>里面的那些信息的

 

http://www.linkedin.com/shareArticle?mini=true&url=www.xxx.com/xx.html

 

 

要注意的是 image_src 要是绝对路径    并且没有空格

 

 

 

 

 

 

 

 

 

The Share URL

All parameter values must be URL encoded.

http://www.linkedin.com/shareArticle?mini=true&url={articleUrl}&title={articleTitle}&summary={articleSummary}&source={articleSource}




 

 

 

 

 

 

Parameters
ParameterRequiredRecommendedCharacter LimitDescription
miniYesYes4Must always be true
urlNoYes1024The permanent link to the article. Must be URL encoded
titleNoYes200The title of the article. Must be URL encoded
sourceNoYes200The source of the article. Must be URL encoded. Example: Wired Magazine
summaryNoYes256A brief summary of the article. Must be URL encoded. Longer titles will be truncated gracefully with ellipses.

 

Example Parameterized URL:

http://www.linkedin.com/shareArticle?mini=true&url=http%3A//developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn



 

 

 

 

 

 

 

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值