api calls to twitter and instagram working