added support for photo media in the tweet