Skip to content

Instantly share code, notes, and snippets.

@Pop-Code
Created September 27, 2012 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pop-Code/3797044 to your computer and use it in GitHub Desktop.
Save Pop-Code/3797044 to your computer and use it in GitHub Desktop.
Get Current Facebook User data
global $AWD_facebook;
//check if a user is connected with facebook
if($AWD_facebook->is_user_logged_in_facebook()){
//get the data of the current user.
$fb_me = $AWD_facebook->me;
//Debug the user Data.
var_dump($fb_me);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment