简体   繁体   中英

how to fetch user phone number using loginViewFetchedUserInfo?

I am using FBLoginView to login authentication and get user info in my iOS Application.

I got all the information of FB user using FBLoginView and its below delegate method

-(void)loginViewFetchedUserInfo:(FBLoginView *)loginView user:(id<FBGraphUser>)user{
}
Response is :-
bio = "some bio";
email = "email address";
"first_name" = My first name;
gender = male;
id = my id;
"last_name" = my last name;
link = "face book url link";
locale = "en_US";
name = "my full name";
timezone = "5.5";
"updated_time" = "2014-05-29T12:59:48+0000";
verified = 1;

now problem is that I am not getting the user's phone number only.

any help ?

thanks in advance.

No its not possible to get phone number because below link says that there is no phone number permission.

Click here .

我想因为FBLoginView和iOS的新Facebook SDK你正面临着这个问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM