decadeapps / developer-doge-twitter-bot

Wanted to share the code for my twitter bot.
MIT License
0 stars 0 forks source link

[{'code': 139, 'message': 'You have already favorited this status.'}] #4

Open decadeapps opened 3 years ago

decadeapps commented 3 years ago

This, most likely could be improved through some tweepy.cursor adjustments. Pretty sure scroll would make it better.

decadeapps commented 3 years ago

Here is the documentation on the tweepy cursor

Experiment with the number if .items(nrTweets)

The nrTweets number may not be affecting the total amount of tweets to like but instead, the amount to choose from in the cursor view.

Might be able to verify this by finding a hashtag with only a few tweets (lol if there is one)/(dead hashtags) use a low amount of the .items() targeted. If it keeps returning an 139 error that would confirm.

decadeapps commented 3 years ago

Just tried doesn't seem to be the case.

Going to read through the cursor tutorial more.