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.