Last active
December 10, 2015 03:58
-
-
Save mhkeller/4377632 to your computer and use it in GitHub Desktop.
FQL Query for friend list information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->api->api(array('method'=>'fql.query','query'=>"SELECT uid,name,first_name,middle_name,last_name,pic_square,hometown_location,current_location,profile_url,email,website FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())")); | |
https://graph.facebook.com/fql?q=SELECT%20uid,name,first_name,middle_name,last_name,pic_square,hometown_location,current_location,profile_url,email,website%20FROM%20user%20WHERE%20uid%20IN%20(SELECT%20uid2%20FROM%20friend%20WHERE%20uid1%20=%20me())&access_token= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment