Permalink
Browse files

Change "callback" to "redirect_uri" per the latest version of the spec:

  • Loading branch information...
1 parent 4cc1032 commit 9f15be997968599d4fdd474e15ee50d3d63c840a Luke Shepard committed Apr 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/oauth/facebookoauth.py
@@ -80,7 +80,7 @@ def get(self):
class LoginHandler(BaseHandler):
def get(self):
verification_code = self.request.get("code")
- args = dict(client_id=FACEBOOK_APP_ID, callback=self.request.path_url)
+ args = dict(client_id=FACEBOOK_APP_ID, redirect_uri=self.request.path_url)
if self.request.get("code"):
args["client_secret"] = FACEBOOK_APP_SECRET
args["code"] = self.request.get("code")

0 comments on commit 9f15be9

Please sign in to comment.