Using PHP 5.2.11 and the new facebook graph code...
If I call
$facebook->api(\"/me\");
I get a proper response:
array \'id\' =>
There is an even simpler way, using the provided facebook api, just call:
$facebook->api("/me?fields=picture");
This will make your code simpler and more elegant.