Created By
Nathan Friedly
06/30/2012 11:47am

Subscribers (16)

BugsGraph API returns user picture as an object when not logged in to Facebook.

  • Status: Fixed
  • Priority: Medium
  • Updated: July 11, 2012 at 11:02am
Latest response from Facebook
Lei Lei
This should now be resolved. Thanks for your patience.
Status changed to Fixed
Lei Lei
Thanks for the report. We are looking into this.
Status changed to Assigned · Priority changed to Medium
Normally http://graph.facebook.com/nfriedly?fields=picture&callback=asdf returns the picture as a string, but it's now returning as an object with the string at picture.data.url (and a new boolean picture.data.is_silhouette).

This is contrary to the documentation which states that it is always a string: https://developers.facebook.com/docs/reference/api/user/

Also worth noting: it appears to work correctly when hitting graph URLs via the browser, it only breaks once you add a callback. So http://graph.facebook.com/nfriedly?fields=picture works as expected but http://graph.facebook.com/nfriedly?fields=picture&callback=asdf doesn't.
5 people can reproduce this issue by following these steps
Repro