From fd53685be99b2f8818e6831ec41dcff57070330f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 25 Dec 2017 13:05:02 +0300 Subject: facebook: do not request publish_actions for now --- juick-www/src/main/java/com/juick/www/controllers/FacebookLogin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src/main/java/com/juick/www/controllers') 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 95ed9a5b..170e2ac2 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 @@ -92,7 +92,7 @@ public class FacebookLogin { OAuth20Service facebookAuthService = serviceBuilder .apiSecret(FACEBOOK_SECRET) .callback(FACEBOOK_REDIRECT) - .scope("publish_actions,email") + .scope("email") .state(fbstate) .build(FacebookApi.instance()); return "redirect:" + facebookAuthService.getAuthorizationUrl(); -- cgit v1.2.3