api - Get Facebook friends list on login -
I need to get the list of all the friends of the logged-in user. But I'm stuck with the way to get results. I'm getting Code> / me / friendlist . Although you will not find the user's friends, but only friends created to sort their friends. To get to friends, you'll find $ user = $ facebook-> GetUser (); $ User_friends = $ facebook- & gt; API ('/ mi / buddy list', array ('field' =>; id, name '')); Print_r ($ user_friends);
Fatal error: Undiscovered OAuthException: unknown path components: / Throw list of friends base_facebook.php on line 1254 / me / friendlists
/ me / friends , although you will only be able to find friends who are also using your app. More about the change since April 2014 See Changelog Lodge for information:
Comments
Post a Comment