I have long understood how to share a link with the image itself, it creates the correct view, title, etc.
However, I would like to know if there is an endpoint for uploading images to LinkedIn image hosting, similar to Facebook.
Alternatively, it would be great if the image header has meta tags that can indicate the scraper to capture the image, rather than just treat it as a link.
Uploading images using the Facebook API looks something like this (Javascript):
FB.api('/me/photos', 'post', {message: shareMsg, url:imgURL }, function(response) {
From a few other questions I asked with similar things, it seems that this may not be possible directly using the web API, however I have not yet found an answer on whether meta tags can be set so that LinkedIn pulls an image to their site.
Publish an image without a corresponding URL
How to upload picture to LinkedIn via API?
Thank you for your time.
Keith source share