作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
有办法获取电话号码吗?我正在使用 SpringSocial 和 Facebook.fetchObjects 似乎没有选项
String accessToken = "trhhh";
Facebook facebook = new FacebookTemplate(accessToken);
String [] fields = { "id", "about", "age_range",
"birthday", "context", "cover",
"currency", "devices", "education",
"email", "favorite_athletes",
"favorite_teams", "first_name", "gender",
"hometown", "inspirational_people",
"installed", "install_type", "is_verified",
"languages", "last_name", "link", "locale",
"location", "meeting_for", "middle_name",
"name", "name_format", "political",
"quotes", "payment_pricepoints", "relationship_status",
"religion", "security_settings", "significant_other",
"sports", "test_group", "timezone", "third_party_id",
"updated_time", "verified", "video_upload_limits",
"viewer_can_send_gift", "website", "work"};
User userProfile = facebook.fetchObject("me", User.class, fields);
最佳答案
没有。无法通过 API 获取用户的电话号码。
关于java - Spring 社交Facebook : Is there a way to get phone number?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42263764/
我是一名优秀的程序员,十分优秀!