I'm successfully able to POST a new LinkedIn "share" of an image (not an actual article/page) with a comment via the API by making an OAuth-authenticated call like this:
URI: POST https://api.linkedin.com/v1/people/~/shares?format=json
Data:
{
"comment": "Some comment.",
"content": {
"title": "Some title.",
"description": "My description.",
"submitted-url": "https://cdn.website.com/images/image.png",
"submitted-image-url": "https://cdn.website.com/images/image.png"
},
"visibility": {
"code": "connections-only"
}
}
However, when I view the resulting Share on linkedin.com the description near the image will not show my supplied "My description." and instead will show the host of the supplied image, i.e. cdn.website.com in this example. This is ugly and not desirable. It seems like they try to crawl the image as if it were a page, and are defaulting to the host instead of using my supplied description of "My description.".
Is this a bug? Am I doing something wrong? Any help would be appreciated!