From: Ben Darnell Date: Sat, 8 Jul 2023 00:04:27 +0000 (-0400) Subject: auth: Update facebook scope X-Git-Tag: v6.4.0b1~24^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf6b20d1da6789d0b745e2e34514b63ef8c826c;p=thirdparty%2Ftornado.git auth: Update facebook scope The read_stream scope was replaced with user_posts; this change was made to demos/facebook/facebook.py in #1674 but the corresponding comment was not updated. The offline_access scope has also been removed but seems irrelvant to this comment. Fixes #1566 --- diff --git a/tornado/auth.py b/tornado/auth.py index 7f05a531f..1312f2990 100644 --- a/tornado/auth.py +++ b/tornado/auth.py @@ -1008,7 +1008,7 @@ class FacebookGraphMixin(OAuth2Mixin): self.authorize_redirect( redirect_uri='/auth/facebookgraph/', client_id=self.settings["facebook_api_key"], - extra_params={"scope": "read_stream,offline_access"}) + extra_params={"scope": "user_posts"}) .. testoutput:: :hide: