macmichael01/python-twitpic — Issue #4: KeyError: oauth_token
Author: danielholm
Created: 2012-02-21 10:01:37+00:00
State: open

Trying to use the 2.0 script and tweet an image. I've registred for all the necessary keys at both Twitter and TwitPic, but I get this when I attempt to run the scipt:

Traceback (most recent call last):
File "/home/daniel/.sharecenter/plugins/twitpic/twitpic2.py", line
446, in
service_key = opts.service_key,
File "/home/daniel/.sharecenter/plugins/twitpic/twitpic2.py", line
139, in __init__
self.access_token = oauth.OAuthToken.from_string(access_token)
File "/usr/lib/python2.7/dist-packages/oauth/oauth.py", line 142, in
from_string
key = params['oauth_token'][0]
KeyError: 'oauth_token'