var mediaObject = new FacebookMediaObject
{
FileName = fileName,
ContentType = "video/3gpp"
};
mediaObject.SetValue(File.ReadAllBytes(mediaObject.FileName);
try {
var fb = new FacebookClient(accessToken);
var parameters = new Dictionary<string, object>();
parameters["method"] = "video.upload";
parameters["caption"] = "video upload using rest api";
parameters["source"] = mediaObject;
parameters["title"]="my video";
parameters["description"]="uploading video";
var result = (IDictionary<string, object>)fb.Post(parameters);
var videoId = (string)result["vid"];
}
catch (FacebookApiException ex) {
throw;
}
Like this:
Like Loading...
well, kind of interesting post, thank you. lista de email lista de email lista de email lista de email lista de email
Thank You !!
WOW just what I was searching for. Came here by searching for how to gain muscle fast
Thank You !!
hello, i came in to learn about this topic, thanks alot. will put this internet site into my bookmarks.
Thank You !!
thank you a lot lista de emails lista de emails lista de emails lista de emails lista de emails
Thank You !!
i’m really interested on this subject, gonna see your other posts, hope they are so good like this one. lista de email lista de email lista de email lista de email lista de email
Thank You !!
There may be noticeably a bundle to learn about this. I assume you made certain nice points in features also.
Thank You !!
it contains truly information. your website is very useful. thanks for sharing. lista de email lista de email lista de email lista de email lista de email
Thank You !!
this is a good style for me. thanks for the hard work. lista de emails lista de emails lista de emails lista de emails lista de emails
Thank You !!