提交 7bf6b20d 编写于 作者: B Ben Darnell

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
上级 a57189bf
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册