Read email and phone number from Facebook Profile - iphone

I try to read email address, phone number from Facebook profile details to my iPhone Application. But, from my Facebook profile, I got name details, location details like that. But I can't get email and phone numbers.
In my program, first I get authentication using Oauth. I get all authentication. using following code.
[fbGraph authenticateUserWithCallbackObject:self andSelector:#selector(fbGraphCallback:) andExtendedPermissions:#"ads_management,xmpp_login,read_stream,read_requests,read_mailbox,read_insights,read_friendlists,email,user_work_history,user_website,user_videos,user_status,user_religion_politics,user_relationships,user_photo_video_tags,user_online_presence,user_notes,user_location,user_likes,user_interests,user_hometown,user_groups,user_events,user_education_history,user_activities,user_about_me,user_birthday,user_photos,user_videos,publish_stream,offline_access,user_checkins,friends_checkins"];
But I can't read phone number and email address.
I use the following Code to read profile:
fb_graph_response = [fbGraph doGraphGet:#"me" withGetVars:nil];
It depends on the following URL: http://developers.facebook.com/docs/api.
My profile output is:
{"id":"1335802454","name":"Vel Murugan","first_name":"Vel","last_name":"Murugan","link":"http://www.facebook.com/profile.php?id=1335802454","about":"BE THE BEST OR BE WITH THE BEST","birthday":"05/12/1984","hometown":{"id":106076206097781,"name":"Madurai, India"},"location":{"id":106076206097781,"name":"Madurai, India"},"bio":"Hi","quotes":"What is ur Name?","work":[{"employer":{"id":114941651860886,"name":"yes"},"location":{"id":106076206097781,"name":"Madurai, India"},"position":{"id":106134736085305,"name":"Software developer"},"start_date":"2010-08","end_date":"0000-00","description":"IPHONE APPS DEVELOPER"}],"education":[{"school":{"id":110943172274244,"name":"MCA"},"year":{"id":133774113322262,"name":"2010"}},{"school":{"id":108627612500830,"name":"Bharathidasan University"},"concentration":[{"id":121317831214170,"name":"MCA"},{"id":137092149656664,"name":"Bsc maths"},{"id":151356271549645,"name":"+2"}]}],"gender":"male","relationship_status":"Single","religion":"NO","political":"NO","email":"apps+123145257717248.1335802454.e466b769c10a7745bcb11201de2aae7d#proxymail.facebook.com","website":"http://www.kailasanadhiswarar.org/","timezone":5.5,"locale":"en_US","verified":true,"updated_time":"2010-08-30T18:28:54+0000"}

As far as I know, the Facebook API does not allow you to get contact informations, such as e-mail and phone number.

I made an application in Flash a couple of month ago, using the Facebook Graph API, and from what I can remember, the recently updated security-restrictions on Facebook prohibits you from accessing your friends email-addresses (might be possible if every friend actively grants your application permission), and as for the phone-number: Is there even a phone-number-parameter in Facebook?
I'm not at all sure about this, but I think that's the way it is.

Facebook API does not allow you to get contact informations, such as e-mail and phone number.

Related

How to get Facebook friends email address using Facebook C# sdk 5.4.1.0 in Windows phone 7

I want to import Facebook contacts(Friends email address) to using an Windows Phone application app and save those contact to local phone.
I want use Facebook C# sdk for, please tell me how to accomplish this in Windows Phone.
Sorry, but Facebook doesn't allows export of Friend's email address. The same is mentioned in the note at Email Permission's documentation.
There is no way for apps to obtain email addresses for a user's friends.
If you still want to obtain those Email Ids of User's friend, you would need to send them all app request to try your application so that you may retrieve those per user basis.

How to get a facebook user's friends emails

Good Evening, i'm just asking how to get a user's friends emails using face book API or something else, the scenario i want to use this feature in goes as follows, my application has a feature called 'import facebook friends' that will do the following:
- verifies that this user has a valid facebook account
- asks him for his facebook identifier(email)
- from his identifier get all his friends and get everyone's email
i don't know if there's any API that performs this functionality?
You can get almost all details about friends like their photos,interests, status updates but not email address.
From Facebook Email Permission Page : "Note: There is no way for apps to obtain email addresses for a user's friends."
To get a user's email address, you need the user_email permission. However, there is no equivalent friends_email permission to get Friends' email addresses as Facebook doesn't allow applications to get these.
Instead, you the Facebook User ID to link friends together. That is the correct way to do things, since the email address can change anyway.

Is it possible now to get through Facebook API user's address?

I found this Facebook API - How to get user's address, phone #? ,but this was last year. I would like to know if now is there any way I can get the user address.
Duplicate question of Facebook API - How to get user's address, phone #?. The answer is still the same, that the user's address and phone number is not available via the api. At one point Facebook posted a blog post about how to get address/phone information and did temporarily enable access to this info, but I'm pretty sure they have since revoked that and said they would review that possibility later.

Accessing contact information of a facebook app user

I have access_token for facebook application. Is there a way I can get the contact information(phone-number) of the user of my facebook application?
Below is the url which returns me all the public information like name, location, education etc.. but not any contact information
https://graph.facebook.com/me?access_token=XXXX....
Thanks in advance!!
You can't get a phone number from the Graph API. You can get an email though if you have the email extended permission: http://developers.facebook.com/docs/authentication/permissions. If you are a whitelisted app I believe you can send Facebook messages as well through the API.

Does the Facebook REST API allow you to get a friend's phone number?

Using the Facebook API, is there a way of getting a friend's phone/cell number? I'm sure I saw an app a while ago that could sync Facebook with your Mac Address Book, but I haven't found anything in the API documentation that allows you to get a friend's number. Is this possible?
Thanks in advance.
According to the FQL documentation, no. The User table and Standard user info table would be the storage place for that information, but no phone number column is listed. Also, Users.getInfo() and Users.getStandardInfo() do not evidently include phone number information either.
Perhaps the app you saw strictly managed email and physical mailing addresses?
Yes above answre is right i have properly search to find the Friend phone numbers with Graph API with PHP SDK 3.1.1 but fail because the facebook do not provide any phone number and email of the Friends but other information can get get easily via code.