]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Updated Facebook permissions 1674/head
authorMark Preston <markgpreston@gmail.com>
Fri, 25 Mar 2016 14:08:17 +0000 (14:08 +0000)
committerMark Preston <markgpreston@gmail.com>
Fri, 25 Mar 2016 14:08:17 +0000 (14:08 +0000)
demos/facebook/facebook.py

index ace0705fc79f0ba48105a5c7792ffee412c56b87..caf4c6f182fc975b1c88084999ce986a668bfc5e 100755 (executable)
@@ -89,7 +89,7 @@ class AuthLoginHandler(BaseHandler, tornado.auth.FacebookGraphMixin):
             return
         self.authorize_redirect(redirect_uri=my_url,
                                 client_id=self.settings["facebook_api_key"],
-                                extra_params={"scope": "read_stream"})
+                                extra_params={"scope": "user_posts"})
 
     def _on_auth(self, user):
         if not user: