Fixed Twitter functionality