W
W
WebDev2015-12-02 11:17:01
Facebook
WebDev, 2015-12-02 11:17:01

Get FB user details in Laravel?

Good morning, please tell me how in laravel4.2 using artdarek / oauth-4-laravel to get access to the likes / friends of a user logged in through FB. In the scope I pass an array ('email', 'user_events', 'user_likes', 'user_online_presence') and in general I tried to transfer everything there from here https://developers.facebook.com/docs/facebook-logi... but the answer comes only the melon of the user himself (first name, last name, email). Tell me, please, who did it? In the controller itself, the request goes to $result = json_decode($fb->request('/me'), true), maybe something needs to be changed here. Didn't find any info anywhere

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mustafo, 2016-01-08
@mustafo

And in the settings of the application in facebook did not forget to give the rights to this data?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question