I'm trying to loop through a list of tweet ID's but if I encounter one that no longer exists I receive a 404 error and the script just stops. I've tried something like this:
try:
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
twt=twitter.show_status(<twitterID>)
except Exception as e:
pass
but that still stops the script. I'd like to be able to log (or print) the ID and continue the script.
Thanks,B