Facebook Graph API will not give me picture data

后端 未结 6 797
傲寒
傲寒 2021-01-12 22:59

Using PHP 5.2.11 and the new facebook graph code...

If I call

$facebook->api(\"/me\");

I get a proper response:

array
  \'id\' =>          


        
6条回答
  •  Happy的楠姐
    2021-01-12 23:36

    I just went to my "/me/picture" in the browser and it redirected me to a static image on one of Facebook's CDN servers. Perhaps the redirect is throwing a wrench in your api call.

提交回复
热议问题