Vote count:
0
Here is the code for variable i am using
$user_profile = $facebook->api('/me');
$fbid = $user_profile['id']; // To Get Facebook ID
$fbuname = $user_profile['username']; // To Get Facebook Username
if(empty($fbuname))
$fbuname = $user_profile['name']; // To Get Facebook full name
$femail = $user_profile['email']; // To Get Facebook email ID
checkuser($fbid,$fbuname,$femail,'fb'); // To update local DB
$_SESSION['userId'] = $fbuname;
Here is the code to get image displayed
<img class="user_img" src="http://ift.tt/1sxp28v">
It is not working however. What should i place insted of $fbid in source.
asked 43 secs ago
Fetching a user's profile picture from facebook not working?
Aucun commentaire:
Enregistrer un commentaire