Talk:Users.getInfo
From Facebook Developers Wiki
Is there any way to access the users phone or mobile phone number?
Is there an option to select ALL fields? If I know I'm going to fetch some majority of fields it would be much more convenient to run users_getInfo($uid, array('all')) instead of listing out 37+ fields to fetch. --ryan_moore 18:20, 20 March 2008 (PDT)
education_history.degree is not included in this documentation. I would add it if I knew anything about it.
How do i get the getInfo function to reply me an XML? and how can i see that is an XML what i get?
The current_location.state field does not return a two letter abbreviation - when I set up the user's location to San Diego, CA then the current_location.state returns "California". Let's keep the documentation consistent...
Yeah I noticed that the state is not an abbreviation also, is there any way to get an abbreviation? This would be very helpful.
>> Is there any way to access the users phone or mobile phone number? - No, I've tried everything
Might be a bit slow, but what is "$this"? Edit: After playing around, I came up with this working example:
$user_details=$facebook->api_client->users_getInfo($row['fbid'], array('last_name','first_name'));
$data['first_name']=$user_details[0]['first_name'];
$data['last_name']=$user_details[0]['last_name'];
(note: No $this whatever - way tired :D)
[edit] optional session key
The text says a session key is now optional... but this method is not mentioned in the list of methods that don't need a session (http://wiki.developers.facebook.com/index.php/New_Design_Platform_Changes#Changes_to_Session_Keys), and trying to access it without a key is giving me a 102. Which one is it? :-) -- Lalo Martins 03:59, 12 August 2008 (PDT)
[edit] getting the same 102
I am also getting the 102 error when I try to access without a session key. Is the documentation wrong?
[edit] Country is a string not an ISO?
I am pretty certain that the standard everywhere is to have countries stored by their ISO letters, not country name. How do I know if you use North Korea, Republic of or Republic of North Korea?
