I know that I could do something like below and get an array of images
FB.api('/{photo_id}/', function(res) { console.log(res) })
The widest image is just 720px. That's not very good for bigger screen developers and users. Any thoughts on how to get the original uploaded image
For example. Lets refer to the man himself Mar Zuckerberg
Get the cover using api
FB.api('/4/?fields=cover', function(res) { console.log(res) })
Now as you may see the returned cover is so low resolution and no good. Where as this is the result I'm expecting
Take a look at the
images
field, this will contain an array of the available sizes, the number and available sizes can vary based on the original size of the image though.See https://developers.facebook.com/docs/graph-api/reference/photo for more details.