minimize api calls to twitter