Write media urls and types for tweets