-
Notifications
You must be signed in to change notification settings - Fork 954
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
photo upload graph.put_photo #30
Comments
Which documentation is this? The method's docstring clearly states that it should be a Python file-like object. The official Graph API documentation states that the API endpoint (
Could you provide a traceback? The following code worked for me:
|
Hi Martey! Sorry I was confused from the Readme.md where I saw: Photo uploads: graph = facebook.GraphAPI(oauth_access_token) You should update it to avoid confusion. I will try with a file like object and I'll let you know. Thanks again. Luca 2012/5/7 Martey Dodoo
|
It worked perfectly, thanks again for your patience and for you great Best, Luca 2012/5/7 Luca Pinello lucapinello@gmail.com:
|
Clarify put_photo method usage (per issue #30), and update link to Facebook's JavaScript SDK Github repo.
Thanks, Luca. The README has been updated in commit c92fa6a. |
I am not able to upload any photo with the put_photo method.
In the documentation the first parameter is the filename, while in the method it seems a file-like object.
Passing a file like object as a first paramter (called image) I recevice an unicode conversion error.
Any idea how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: