Talk:Video.upload

From Facebook Developer Wiki

Jump to: navigation, search

Is it possible to do an upload using an javascript call rather than cURL? Ie the file would be transmitted direct to Facebook rather than having to go to a third parties server first.

Not at this time, no. If you want, you can file a feature request in Bugzilla so the Platform team can be made aware of the request. Thanks, Pete (563683308 16:44, 21 July 2009 (PDT))

[edit] Feature request: uploading a video to a page

Now that an application can create events on a page, this functionality should be extended to videos as well so that applications can post videos to a page. It will require an additional page_id parameter in the function. In addition to that, a second additional parameter for the id of who you want the video to be posted as, that way it can look like the page itself is posting it instead of the person who has your app installed like stream_publish has. I've also submitted this request to the bug tracker here.

[edit] Video.upload questions

This list is posted on the official help website (here "http://www.facebook.com/help.php?page=833" and here "http://www.facebook.com/help.php?page=789"):

   * 3g2 (Mobile Video)
   * 3gp (Mobile Video)
   * 3gpp (Mobile Video)
   * asf (Windows Media Video)
   * avi (AVI Video)
   * dat (MPEG Video)
   * flv (Flash Video)
   * m4v (MPEG-4 Video)
   * mkv (Matroska Format)
   * mod (MOD Video)
   * mov (QuickTime Movie)
   * mp4 (MPEG-4 Video)
   * mpe (MPEG Video)
   * mpeg (MPEG Video)
   * mpeg4 (MPEG-4 Video)
   * mpg (MPEG Video)
   * nsv (Nullsoft Video)
   * ogm (Ogg Media Format)
   * ogv (Ogg Video Format)
   * qt (QuickTime Movie)
   * tod (TOD Video)
   * vob (DVD Video)

It's different from this list, wich one is correct?

Ugh, thanks for noticing. It's a union of the wiki and the Help Center (so essentially add WMV to your list above). I'll update the wiki now and contact the people who maintain the Help Center to add WMV there.

I'm also trying to upload videos with this call. All my videos are less than 2 minutes, but even if no errors are returned, when i login i find a notification that states that my video is too long.

Your account is likely not verified by Facebook. See the section in the main article about upload limits and determining verification status. Pete -- 563683308 11:03, 6 November 2009 (PST)
reference