finally got the twitter api to work