added function for posting image/media tweet