sbenthall / tweetserve

retweet lottery for great justice
MIT License
1 stars 0 forks source link

Deal with 403 errors on retweets #5

Closed sbenthall closed 10 years ago

sbenthall commented 10 years ago

Sometimes this will try to RT something that it can't. I think this has to do mainly with if it has already RTed the tweet in question. This should become less of a problem if things scale up, but it would be better to handle this gracefully (for now it just passes without error or logging...)

Better would be to find a different thing to tweet.

sbenthall commented 10 years ago

I think the best thing to do is work chronologically down the list of most recent tweets of a person.

That keeps the discussion contemporary while also rewarding people who are subscribed more consistently.

sbenthall commented 10 years ago

https://github.com/sbenthall/tweetserve/commit/a43bbb5aeecdc9ba621f1eae6fbcda6dfa0012a3