sanchez
sanchez

Reputation: 4530

Get thumbnail of a photo with facebook graph api

I am getting an image from the facebook graph api and this works fine:

'https://graph.facebook.com/' + id + '/picture?access_token=' + accessToken;

However I want to get a thumbnail of this image instead.

How can I do this?

Upvotes: 2

Views: 964

Answers (1)

Matt Dunne
Matt Dunne

Reputation: 140

After /picture add ?type=thumbnail to the url to obtain a 75px wide version of the image.

Upvotes: 2

Related Questions