test connection to twitter api