I was researching about the possibility of viewing the list of friends for a certain user after the user authorizes the application to view his user_friends, but I did not quite grasp the idea, so I was wondering, is there a direct way to view the list without having to go through the graph APIs and stuff? I am using Laravel's Socialite package to login and it seems to work pretty fine and returns the default information(email, name, avatar, etc..) along with other permitted things like the birth date, location and hometown. However, I am finding it hard to view the list of photos, posts, friends and groups, etc.. even though the user permits me to.
Thanks a lot in advance!
You just cannot do it.
Facebook does not let you getting a list of friends, but only a list of friends that are already using your app. In the official docs for the API we can read: https://developers.facebook.com/docs/graph-api/reference/v2.3/user/friends
Even more, you cannot get the list of friends using Socialite from Laravel, so I would recommend you to use another Laravel package for that, like this one: https://github.com/SammyK/LaravelFacebookSdk
Cheers!