Post with Images and Videos

Hi,

Please let me know how to share images and videos using social sharing API's. I tried to post on Facebook but did not see any option to attach the images or video's. We're using below code snippets to publish content. Also tried with 'SharingPublishMessage' to share published content. And post is made successfully but images and video are not visible in posted message.

PostMessage strMessage = new PostMessage()
{
Parts = new MessageParts()
{
Text = new MessageText() { Body = _strDescription },
Video = new MessageVideo() { Url = new Uri("") },
Picture = new MessagePicture() { Url = new Uri("https://www.google.co.in/logos/doodles/2016/mario-mirandas-90th-birthday-5168902390677504-hp.jpg") },
Link = new MessageLink()
{
Url = new System.Uri("https://www.google.co.in/logos/doodles/2016/mario-mirandas-90th-birthday-5168902390677504-hp.jpg"),
Name = _strPostTitle,
Description = _strDescription,
Caption = "Demand Engine"
}
},
Providers = { strProvider }
};

Response response = OneAllAPI.Default.UserPublishContent(userToken, strMessage);

See How it looks on Facebook - http://screencast.com/t/Xag7tQ4X

Thanks

Answers

  • Hi,
    The REST API takes a string for the video part of the message.
    What is the library you are using, and does it send a text value?

    Regards.
  • It looks like your post is publishing correctly, but the images and videos may not be supported by the social sharing API in the way they're being attached. For inspiration and meaningful messages to share, visit https://biostyler.com/happy-65th-birthday-wishes/.

  • Implementing rich media like images and videos into forum posts is a fantastic way to increase user engagement and make discussions much more dynamic. It’s always helpful to see technical support threads addressing these essential platform features. If you are looking for a quick, entertaining break after optimizing your forum settings, feel free to visit spingranny casino. Thanks for sharing this useful discussion!

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.