I have this endpoint that is currently working flawlessly for both photos and videos.
let mediaContainerUrl = `https://graph.facebook.com/${igUserId}/media`;
As per my users demand I also want to add the ability to upload a video thumbnail for videos uploaded to instagram.
will thumbnail_url work as the video thumbnail parameter?
Here is what I tried:
let videoContainerParams = new URLSearchParams();
videoContainerParams .append('media_type', 'VIDEO');
videoContainerParams .append('video_url', videoUrl);
videoContainerParams .append('thumbnail_url', instagramVideoThumbnail); //Will this work for the video thumbnail?
Thank you.
from Submitting a video with Thumbnail to Facebook Graph API for Instagram
No comments:
Post a Comment