fetch pics from facebook

GET https://graph.facebook.com/v3.2/me/?fields=albums{name,photo_count,photos{images}}

Fetches all the profile picture CDN links and stores them in a sources array.

Makes a GET request to Facebook's Graph API.

GET https://graph.facebook.com/v3.2/me/?fields=albums{name,photo_count,photos{images}}

This gives us a JSON response with the albums of authenticated user. In this case our own profile. Albums will contain name, photo_count, and the photos object. The photos object contains photos of different sizes.

Request Params

KeyDatatypeRequiredDescription
fieldsstring