I am trying to fetch the picture of a Facebook user\'s friends using their facebook ids, but using the following code returns nil instead of the picture url...
The code
USER_PROFILE_OPTIONS = { fields: %w(id first_name last_name hometown email gender birthday picture.width(320)) }.freeze @graph = Koala::Facebook::API.new(oauth_access_token) @graph.get_object('me', USER_PROFILE_OPTIONS)
See: https://developers.facebook.com/docs/graph-api/reference/user/picture/