1
I’m using the Facebook SDK API to work with facebook. The SDK version I’m using is 2.8. I’m pulling up the list of my friends' Ids and I can successfully get.
What I need now is to get a picture of each of them, but I’m not getting it. Instead of returning the photo he returns a photo with "?" (interrogation). When it does not return this, it usually returns with the error message below:
(#12) picture edge for this type is deprecated for versions v2.3 and Higher
I tried everything, but nothing helped. I was trying like this:
https://graph.facebook.com/745290582220378/picture?type=normal => No good, back interrogation.
https://graph.facebook.com/745290582220378/picture?type=normal&access_token=TOKEN_DE_ACESSO_GERADO => No help returns the above mentioned error (#12) picture edge for this...
In my PHP code I used
$this->facebook->request('get', '/'.$FriendID.'/picture?type=large');
But gave the error quoted above.
I don’t know what to do and I need to deliver it to the client, but I don’t know how to fix it.
access your app’s https://graph.facebook.com/745290582220378 url and see what it returns
– Italo Rodrigo
@Italorodrigo it asks for the token and if I put the token it returns me the friend ID only, nothing else.
– Alisson Acioli
check if your app registered on facebook is marked as desktop app, if you have, change to web app.
– Italo Rodrigo
@Italorodrigo is for web now
– Alisson Acioli
'Strange', Voce has sufficient permissions?
– Italo Rodrigo
Yes, I am asking for permission from Friends List, Public Profile and Publication on the wall
– Alisson Acioli