I'm building a twitter automation web app using flask, and tweepy, currently i'm working on removing favorite tweets my code works fine I would like a way to refresh the html page with the username of the author of the tweet that is being removed. I have used jquey to get a json object from a flask route every second, but doing this would make me reach the twitter rate limit faster.
I want someone to modify my code so that it archives the same result without stressing the twitter API.