1

電話番号を取得する方法はありますか?私はSpringSocialを使用しています.Facebook.fetchObjectsにオプションがないようです。Spring Social Facebook:電話番号を取得する方法はありますか?

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); 

答えて

2

いいえユーザーの電話番号はAPI経由では利用できません。

関連する問題