facebookarchive / fbconsole

A micro api client for writing scripts against the Facebook Graph API.
Other
325 stars 74 forks source link

HTTP Error 400 - After changing APP_ID #18

Closed benmezger closed 9 years ago

benmezger commented 11 years ago

I changed APP_ID for my Facebook's APP ID, but after making the change it seems that I get a 400 HTTP Error: Bad request.

Did I miss anything here?

Traceback (most recent call last):
  File "__init__.py", line 11, in <module>
stat.postMessage()
  File "/home/ephexeve/Workspace/FacebookConsole/poststatus.py", line 14, in     postMessage
    status = fbconsole.post(WALL_STATUS, {"message": self.message})
  File "/usr/lib/python2.7/site-packages/fbconsole.py", line 286, in post
    return json.load(urllib2.urlopen(request))
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request
pcardune commented 9 years ago

Can you try this with the latest version of fbconsole? If it still happens, please reopen.