-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't assume image format in put_photo #44
Comments
fix for this issue. |
From my testing, Facebook doesn't care about the extension in the filename, but just for clarity, it would be nice if the filename had the correct extension based on the mimetype. |
This was referenced Dec 16, 2012
Closing in favor of #61. |
vicondo26
pushed a commit
to vicondo26/f
that referenced
this issue
May 5, 2024
fixed the issue mobolic/facebook-sdk#44 Guessing mime type from file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now the SDK doesn't check the actual image format, and assumes it's a JPG: https://github.com/pythonforfacebook/facebook-sdk/blob/master/facebook.py#L261
The text was updated successfully, but these errors were encountered: