I am using Facebook's PHP SDK and Graph API to obtain all albums from one user, and then display them to him so he can select which album he will browse. I want them displayed in a grid, just like Facebook does: every picture with the same width and height.
The problem is that when I do:
$fb->api('/' . $album_id . '/picture?access_token=' . $accessToken
I get a version of the picture with the original dimensions, and not the way that Facebook shows them to you when you click on Photos, i.e. a cropped version adjusted to a fixed size.
I have tried adding ?square
to the request, but still getting the same result.
Any ideas?