Hello.
The subtitles part of the Example Request on the following page is an array, not an Object.
POST media/subtitles/create | Docs | Twitter Developer Platform
I think the correct request is as follows.
{
"media_id":"692797692624265216",
"media_category":"TweetVideo",
"subtitle_info": {
"subtitles": [{ // CHANGE HERE!
"media_id":"105195515189863968",
"language_code":"EN", //The language code should be a BCP47 code (e.g. 'en", "sp"),
"display_name":"English"
}] // CHANGE HERE!
}
}
Could you please check the documentation?
system
Closed
#2
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.