View Single Post
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#16
the log when trying to authorize from hermes with facebook is:

Code:
Nokia-N900 - - [19/Nov/2013 01:00:26] "GET /success?code=****hidden code*****HTTP/1.1" 200 -
Traceback (most recent call last):
  File "/opt/hermes/lib/org/maemo/hermes/engine/facebook/provider.py", line 96, in _handle_button
    self.api.authenticate()
  File "/opt/hermes/lib/org/maemo/hermes/engine/facebook/api.py", line 24, in authenticate
    {'scope': 'user_about_me,friends_about_me,user_birthday,friends_birthday,user_website,friends_website,user_work_history,friends_work_history'})
  File "/opt/hermes/lib/oauth2.py", line 40, in authorise
    result = urllib2.urlopen('%s?client_id=%s&redirect_uri=%s&client_secret=%s&code=%s' % (access_token_url, self._client_id, redirect_uri, self._client_secret, code)).read()
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request
__________________
Flickr photos taken with N900 https://www.flickr.com/cameras/nokia/n900/
"Closed source software tells you what you can do. With open source, you decide what software can do for you" Richard Stallman
 

The Following User Says Thank You to gianko For This Useful Post: