sciyoshi/pyfacebook — Issue #76: FacebookError: Error 453: A session key is required for calling this method 
Author: dwickwire
Created: 2011-11-10 15:27:27+00:00
State: open

Hi

Here's the traceback

```
facebook.FacebookError

FacebookError: Error 453: A session key is required for calling this method

Traceback (most recent call last)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 68, in __call__

return self.application(environ, start_response)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 68, in __call__

return self.application(environ, start_response)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 272, in __call__

response = self.get_response(request)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/core/handlers/base.py", line 169, in get_response

response = self.handle_uncaught_exception(request, resolver, sys.exc_info())

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/core/handlers/base.py", line 203, in handle_uncaught_exception

return debug.technical_500_response(request, *exc_info)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response

response = callback(request, *callback_args, **callback_kwargs)

File "/Users/dwickwire/Projects/federation/src/django-socialauth/socialauth/views.py", line 257, in facebook_login_done

user = authenticate(request = request)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 55, in authenticate

user = backend.authenticate(**credentials)

File "/Users/dwickwire/Projects/federation/src/django-socialauth/socialauth/auth_backends.py", line 180, in authenticate

fb_user = facebook.users.getLoggedInUser()

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/facebook/__init__.py", line 877, in facebook_method

return self(method_name, params, signed=signed)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/facebook/__init__.py", line 900, in __call__

return self._client('%s.%s' % (self._name, method), args, signed=signed)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/facebook/__init__.py", line 1558, in __call__

return self._parse_response(response, method)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/facebook/__init__.py", line 1491, in _parse_response

self._check_error(result)

File "/Users/dwickwire/Projects/federation/lib/python2.7/site-packages/facebook/__init__.py", line 1438, in _check_error

raise FacebookError(response['error_code'], response['error_msg'], response['request_args'])

FacebookError: Error 453: A session key is required for calling this method
```

It was working just fine at one point, I seem to be intermittently getting this, any ideas?