Santosh Rajput

Santosh Rajput

  • NA
  • 207
  • 5.5k

Post video on Facebook using JavaScript.

Apr 16 2018 8:09 AM
Hi,
    I'm trying to upload a video on facebook using REST(Facebook graph API) calls in javascript but it gives an error.
   
 
{"readyState":4,"responseText":"{\n \"error\": {\n \"message\": \"There was a problem uploading your video file. Please try again.\",\n \"type\": \"OAuthException\",\n \"code\": 390,\n \"error_subcode\": 1363030,\n \"is_transient\": true,\n \"error_user_title\": \"Video Upload Time Out\",\n \"error_user_msg\": \"Your video upload timed out before it could be completed. This is probably because of a slow network connection or because the video you're trying to upload is too large. Please try again.\",\n \"fbtrace_id\": \"CACeJW2AU3l\"\n }\n}","responseJSON":{"error":{"message":"There was a problem uploading your video file. Please try again.","type":"OAuthException","code":390,"error_subcode":1363030,"is_transient":true,"error_user_title":"Video Upload Time Out","error_user_msg":"Your video upload timed out before it could be completed. This is probably because of a slow network connection or because the video you're trying to upload is too large. Please try again.","fbtrace_id":"CACeJW2AU3l"}},"status":400,"statusText":"error"} 
 
Thanks in advance. 
 
 

Answers (3)