You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
I get a response back as There was a problem uploading your video file. Please try again with another file.After debugging into SDK source code I realize that $file->getSize() code is not working well for remote videos inside class FacebookResumableUploader, method name is start ()
. To get remote file size I use the snippet from here https://thisinterestsme.com/php-get-size-remote-file/ and pass statically in place of $file->getSize() and that works fine. please share your thoughts on this.Can you please add support for this if possible
The text was updated successfully, but these errors were encountered:
Trying to upload a remote video to Facebook using the chuckable API method.(https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_1920_18MG.mp4)
$response = $fb->uploadVideo(xxxxx, $file, $data,'access_token');
I get a response back as
There was a problem uploading your video file. Please try again with another file.
After debugging into SDK source code I realize that$file->getSize()
code is not working well for remote videos inside classFacebookResumableUploader
, method name isstart ()
. To get remote file size I use the snippet from here https://thisinterestsme.com/php-get-size-remote-file/ and pass statically in place of
$file->getSize()
and that works fine. please share your thoughts on this.Can you please add support for this if possibleThe text was updated successfully, but these errors were encountered: