Hi!

I'm using oauth-python-twitter to develop a browser/server application
and everything (including auth) works fine, including the
GetUserInfo(), but none of the other API functions work.

This is the error I'm getting:

  File "/home/xxx/www/web/Register.py", line 61, in activate
    twitter.CreateFriendship("elver")
  File "/home/xxx/www/lib/twitter.py", line 1971, in CreateFriendship
    json = self._FetchUrl(url, post_data={})
  File "/home/xxx/www/lib/oauthtwitter.py", line 104, in _FetchUrl
    url_data = opener.open(url).read()
  File "/usr/lib64/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/usr/lib64/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.6/urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 510, in
http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request

Pretty much the same thing happens with every other Twitter API
function I try to use through oauth-python-twitter.

User "danjacob.beaulieu" described a very similar issue in the oauth-
python-twitter project page comments on October 15, 2009 here:
http://code.google.com/p/oauth-python-twitter/wiki/HowToUseOAuthApi

He has not gotten a reply yet.

Does anyone know what's going on? Anyone seen the same error?

Best,
Elver

Reply via email to