Reputation: 22171
I used to do:
https://graph.facebook.com/me?fields=picture.width(100).height(100)&return_ssl_resources=1&access_token=
I want to also include the large size of the picture: picture.type(large)
Is there a way to include it in the same call? Meaning retrieving both versions.
Currently, I get this error:
{
"error": {
"message": "Syntax error \"Field picture specified more than once. This is only possible before version 2.1\" at character 76: name,first_name,last_name,picture.type(large),picture.width(100).height(100),email",
"type": "OAuthException",
"code": 2500
}
}
with : https://graph.facebook.com/mefields=picture.width(100).height(100),picture.type(large)&return_ssl_resources=1&access_token=
Upvotes: 1
Views: 833
Reputation: 61
yes! it's possible. you can use batch requests . In this case you should use separate completion handlers for each request.
Other solution is to use field aliasing like this guy recommends : https://stackoverflow.com/a/35341593/5612119
Upvotes: 1