ValueError in facebook.__init__.py
When tried to connect through a django app the following error occurs.
Exception in request: Traceback (most recent call last): File "/base/data/home/apps/app-name/1.339079629847560090/common/zip-packages/django-1.1.zip/django/core/handlers/base.py", line 92, in get_response response = callback(request, _callback_args, *_callback_kwargs) File "/base/data/home/apps/app-name/1.339079629847560090/facebook/djangofb/init.py", line 87, in newview if not fb.check_session(request): File "/base/data/home/apps/app-name/1.339079629847560090/facebook/init.py", line 1293, in check_session self.session_key_expires = int(params['expires']) ValueError: invalid literal for int() with base 10: 'None'
The error could be solved by replacing line 1292 by this
if params.get('expires'):
if params['expires'] == 'None':
params['expires'] = 0
self.session_key_expires = int(params['expires'])
Duplicate of #26 and #30 :)
When are you planning to merge this into master?