Twitter API updated

fixed problem with posting to twitter