added post to twitter function

added function to post to twitter with ability to post a photo