Media_category values

faq

#1

media_category seems to be mentioned all over the new chunked upload docs, but I don’t see any enumeration of the possible values. The only one mentioned is tweet_gif.

Would be nice to have them listed out, along with any non-obvious side effects of using specific categories.


#2

Good feedback, thank you. I’ll see what we can do about documenting that.


#3

Thanks Andy.

While you are in there.

https://dev.twitter.com/rest/reference/post/media/upload has a broken link in “See the uploading media guide for additional constraints for animated GIF files.”.

https://dev.twitter.com/rest/reference/post/media/upload-append The “Parameters” table looks a bit screwed up.

https://dev.twitter.com/rest/reference/post/media/upload-finalize same as above.

Also can I suggest you explicitly state that APPENDs should happen sequentially and not concurrently.


#4

Did you find this anywhere? Would be awesome if you could list them here whilst Andy looks to update the docs.


#5

@andypiper Any update on adding this to the documentation. If not, is there a way you can at least provide us with the full list in the meantime :slight_smile:


Media Type Enumeration
#6

The docs are frozen for a short while because we’re making a few backend improvements, but this is still on my todo list. I do need to circle around with the Media team to get the list though, thanks for the prod. Let me see if I can expedite things.


#7

Three possible values for media_category on the upload path at present:

  • tweet_image
  • tweet_gif (animated GIF only, static not supported)
  • tweet_video

These correspond to the three types of media described in the rest of the documentation. In due course I’ll make sure to have this list added to the docs proper, but as I mentioned there may be a delay due to some ongoing additional work there.


Uploading video chunked error on FINALIZE command
Upload Limit for video async
Uploading h264 video with aac (LC) audio, still InvalidContent Error
Ne error: Media sharing is only supported on managed mediaId(s)
#8

@andypiper Thanks so much!


Upload STATUS throw 503
#9

amplify_video is another possible media category as per the changes of 22/10/2015 (https://dev.twitter.com/ads/overview/recent-changes).