get application user's info - Facebook-GRAPH API-PHP SDK -
i need dump info of application user's using code !
$fbme = $facebook->api('/me'); $str = $fbme['name'].' '.$fbme['sex'].' '.$fbme['hometown_location'].' '.$fbme['profile_url'].'\r\n'; $fp = fopen("data.txt", "w"); fwrite($fp, $str); fclose($fp); but shows name, nothing else ! why ?
you're making property names. it's not sex, it's gender. , on. read: http://developers.facebook.com/docs/reference/api/user/
Comments
Post a Comment