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 Nov 12, 2021. It is now read-only.
Path now works but because we know this is a request for a picture the pyFaceGraph code could intercept it, and, not parsing as json, instead passing the URL you would have been redirected to by Facebook's Graph API.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I had issues with getting images from Facebook - essentially I was doing:
img = g['me']['picture'] & ('type', 'large')
path = img()
To get the image. Of course Facebook gives you images not via a JSON response which means requesting ti parses the url which is not json but jpeg.
Instead you do this:
img = g['me']['picture'] & ('type', 'large')
path = img.url
Can we get automatic conversion from your request to the redirected url - this would be some awesome syntactic sugar and make the interface cleaner:
img = g['me']['picture'] & ('type', 'large')
path = img()
Path now works but because we know this is a request for a picture the pyFaceGraph code could intercept it, and, not parsing as json, instead passing the URL you would have been redirected to by Facebook's Graph API.
The text was updated successfully, but these errors were encountered: