here my code used :note coverpath is full image path and i try to path image as bytes but the same error return.
dynamic parameters = new ExpandoObject(); parameters.source = new FacebookMediaObject {ContentType = string.Format("video/{0}",VideoExtension.Split('.')[1]),FileName = VideoName} .SetValue(File.ReadAllBytes(filePath));
parameters.title = VideoTitle;
parameters.description = VideoTitle;
parameters.universal_video_id = new Guid();
parameters.thumb = coverPath;
parameters.published = false;
parameters.unpublished_content_type = "DRAFT";
dynamic uploadresult = fb.Post("/367728493684998/videos", parameters);
Replies
Know the answer? Post it — somebody with the same question will find it here.