Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error On Video Upload To Page #391

Open
sametkarakayali opened this issue Feb 21, 2018 · 0 comments
Open

Error On Video Upload To Page #391

sametkarakayali opened this issue Feb 21, 2018 · 0 comments

Comments

@sametkarakayali
Copy link

I'm getting this error while trying to upload video on the page:

(OAuthException - #1) An unknown error has occurred.

` var fb = new FacebookClient(pageAccessToken);
string attachementPath = filePath;
using (var file = new FacebookMediaStream
{
ContentType = "video/*",
FileName = Path.GetFileName(attachementPath)
}.SetValue(File.OpenRead(attachementPath)))
{
var isim = file.FileName;
dynamic result = fb.Post("/"+ pageid + "/videos",
new { title = PaylasimIcerik, description = PaylasimIcerik,source= file });

                            }`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant