Could someone post a working example of LinkedIn POST to people/~/shares with the submitted-image-url parameter.
The updated is getting posted to LinkedIn but without the image.
Code snippet -
NewShare share = new NewShare();
NewShare.NewShareContent shareContent = new NewShare.NewShareContent(); shareContent.setTitle(title);
shareContent.setSubmittedUrl(submittedUrl);
shareContent.setSubmittedImageUrl("http://www.google.co.in/intl/en_ALL/images/logos/images_logo_lg.gif");
share.setContent(shareContent);
NewShare.NewShareVisibility visibility = new NewShare.NewShareVisibility();
NewShare.NewShareVisibilityCode code = NewShare.NewShareVisibilityCode.ANYONE;
visibility.setCode(code);
share.setVisibility(visibility);
share.setComment(comment);
api.networkUpdateOperations().share(share);
Could this be purely a LinkedIn issue?
Thanks.
The updated is getting posted to LinkedIn but without the image.
Code snippet -
NewShare share = new NewShare();
NewShare.NewShareContent shareContent = new NewShare.NewShareContent(); shareContent.setTitle(title);
shareContent.setSubmittedUrl(submittedUrl);
shareContent.setSubmittedImageUrl("http://www.google.co.in/intl/en_ALL/images/logos/images_logo_lg.gif");
share.setContent(shareContent);
NewShare.NewShareVisibility visibility = new NewShare.NewShareVisibility();
NewShare.NewShareVisibilityCode code = NewShare.NewShareVisibilityCode.ANYONE;
visibility.setCode(code);
share.setVisibility(visibility);
share.setComment(comment);
api.networkUpdateOperations().share(share);
Could this be purely a LinkedIn issue?
Thanks.