简体   繁体   中英

uploading video to facebook with javascript, without php

How do I upload a video from a server to Facebook, with javascript/jquery/ajax, but without using php?

I tried calling:

 FB.api('/me/videos', 'POST', { source: url, name: title }, iCallback);

but this is returning an error: "(#353) Missing video file". I checked the url, and it's valid and directs to a valid video file on the server.

Thanks for your help!

尝试使用“ file_url”而不是“ source”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM