diff options
author | Vitaly Takmazov | 2017-09-19 14:46:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-09-19 14:46:22 +0300 |
commit | 3bdf9cf591956682036910e840e1b6d5e608d4d3 (patch) | |
tree | d67c64770590bd60a1cb80fdff7accd95d3a3ede | |
parent | 763e71486aa51900de47a20fbbe2c5b0bf6193c5 (diff) |
www: facebook api v2.10
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/FacebookLogin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/FacebookLogin.java b/juick-www/src/main/java/com/juick/www/controllers/FacebookLogin.java index 2d32d0a5..cb55bf82 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/FacebookLogin.java +++ b/juick-www/src/main/java/com/juick/www/controllers/FacebookLogin.java @@ -109,7 +109,7 @@ public class FacebookLogin { .state(state) .build(FacebookApi.instance()); OAuth2AccessToken token = facebookService.getAccessToken(code); - final OAuthRequest meRequest = new OAuthRequest(Verb.GET, "https://graph.facebook.com/v2.8/me?fields=id,name,link,verified"); + final OAuthRequest meRequest = new OAuthRequest(Verb.GET, "https://graph.facebook.com/v2.10/me?fields=id,name,link,verified"); facebookService.signRequest(token, meRequest); String graph = facebookService.execute(meRequest).getBody(); if (StringUtils.isBlank(graph)) { |