connected to twitter api