[英]How we can get user's birthday using facebook graph api?
I am trying to get birth of date of logged-in facebook user . 我试图获得已登录Facebook用户的日期。 i tried the code mentioned on facebook developer website , but still i didn't got birthday date . 我尝试了在Facebook开发者网站上提到的代码,但仍然没有生日。
I have tried the code below to get user info: 我尝试了下面的代码来获取用户信息:
[FBRequestConnection startForMeWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
if (!error) {
// Success! Include your code to handle the results here
NSLog(@"user info: %@", result);
} else {
// An error occurred, we need to handle the error
// See: https://developers.facebook.com/docs/ios/errors
}
}];
According to facebook , 根据facebook ,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.