Closed timelash closed 9 years ago
Hey there!
First of all: the Twitter app needs read/write access to retweet Tweets. If you grant read access only, that might have caused the error.
To find out about the errors, please pull the recent version that I just pushed. Then uncomment line 76 (#print e) in retweet.py
by removing the # and run the retweet bot again. You should now be able to see the reason why the TweepError gets raised.
Hope this helps,
basti2342
Hi, thanks for replying so quick.
Thanks for the push. The error print confirmed what you said:
'Read-only application cannot POST.'
Fixed the app up - now all good.
TLC
Glad I could help.
basti2342
Hi, firstly I'm fairly new to Python. I can understand a fair portion of it which is good for learning.
When I ran the script, it found (and listed) 4 tweets based on the hashtag I defined in the config file, but it did not retweet them. Instead the following message came up: 'Finished. 0 Tweets retweeted, 4 errors occurred'
Can I find the source of the error? My other question is should the Twitter app Access level be Read-only or read/write?
Thanks in advance,
TLC