From 68449f0b2a1307a7c848fa90c3429de91579204e Mon Sep 17 00:00:00 2001 From: Waldecir Loureiro dos Santos Filho Date: Wed, 21 Mar 2012 16:56:30 -0300 Subject: [PATCH] we dont need post_args in url, post_args will be sended in http body. --- tornado/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/auth.py b/tornado/auth.py index 21c8ac88..11b2ea4e 100644 --- a/tornado/auth.py +++ b/tornado/auth.py @@ -1069,7 +1069,7 @@ class FacebookGraphMixin(OAuth2Mixin): if access_token: all_args["access_token"] = access_token all_args.update(args) - all_args.update(post_args or {}) + if all_args: url += "?" + urllib.urlencode(all_args) callback = self.async_callback(self._on_facebook_request, callback)