私は現在、ソーシャルプラットフォームとの統合によるシンプルなDjangoアプリケーションを作成しようとしています。私はfacebookアカウントに接続するためにプラグインdjango-socialregistrationを使用することに決めました。私はhttp://django-socialregistration.readthedocs.org/en/latest/のインストールガイドに従った。それは、Facebookのログインページにリダイレクト要求ダイアログが表示され、最終的には次のエラーでベイルをクリックした後django-socialregistration access_tokenエラー
アプリケーションは、ボタンを示しています。エラーメッセージのような質問を投稿するための
KeyError at /social/facebook/callback/
'access_token'
Request Method: GET
Request URL: http://somehost:8000/social/facebook/callback/?code=
[here comes long code]
Django Version: 1.3.1
Exception Type: KeyError
Exception Value:
'access_token'
Exception Location: /usr/lib/python2.7/site-packages/
django_socialregistration-0.5-py2.7.egg/socialregistration/clients/oauth.py in get_access_token, line 273
申し訳ありませんが、私は持っていますどのようにそれを解決するか分かりません。
おかげでたくさん、
Tomek