Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Video File Format Not Supported #262
I'm trying to use StringIO to upload an mp4 file to Facebook.
This is the error:
Koala::Facebook::APIError (OAuthException: (#352) Video file format is not supported):
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
FWIW, I've gotten this error while passing Files, Tempfiles, and StringIOs (never tried URLs) and finally figured out what was wrong: Facebook cares what the file extension is: As soon as I passed a Tempfile with a .mp4 in the extension everything was just fine and worked as expected.