分享的时候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}
Parameter | Required | Recommended | Character Limit | Description |
---|---|---|---|---|
mini | Yes | Yes | 4 | Must always be true |
url | No | Yes | 1024 | The permanent link to the article. Must be URL encoded |
title | No | Yes | 200 | The title of the article. Must be URL encoded |
source | No | Yes | 200 | The source of the article. Must be URL encoded. Example: Wired Magazine |
summary | No | Yes | 256 | A 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