Announcement Announcement Module
Collapse
No announcement yet.
LinkedIn - submitted-image-url not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • LinkedIn - submitted-image-url not working

    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.
Working...
X