QuuxZebula / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

Cyrillic python twitter #191

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. tweet = "russian_text_here"
2. twit = tweet.encode('utf-8')
3. api = (..., input_encoding='utf8')
4. api.PostUpdate(twit)

What is the expected output? What do you see instead?

  File "/home/lol/Downloads/python-twitter-0.8.1/twitter.py", line 2553, in PostUpdate
    self._CheckForTwitterError(data)
  File "/home/lol/Downloads/python-twitter-0.8.1/twitter.py", line 3488, in _CheckForTwitterError
    raise TwitterError(data['error'])
__main__.TwitterError: Incorrect signature

What version of the product are you using? On what operating system?

Python 2.6. Linux Mandriva

Please provide any additional information below.

Please help me, this problem has stopped my work! I looked 
http://code.google.com/p/python-twitter/issues/detail?id=156 but it's doesn't 
helped me =(

Original issue reported on code.google.com by Aleksand...@gmail.com on 29 Mar 2011 at 6:32

GoogleCodeExporter commented 9 years ago
The error your getting is because you probably have not registered your command 
line app and gotten from twitter your consumer and application keys.

there is a file in the source named get_access_token.py that has comments in it 
that describe what you need to do in order for your app to signin to twitter 
using oauth.

Original comment by bear42 on 1 Apr 2011 at 12:35