Uploads an image or video.
Stored Procedure Specific Info
Use this procedure to upload images or videos to Twitter. It returns media Ids, which can be used to create a Tweet with an attached photo or video. The uploaded media expires in 24 hours after the upload. The video size should not be more then 15 MB and 30 seconds of the length.
Set MediaFilePath for every media file. For example, the set of media files to upload would be the following:
MediaFilePath - path/to/file1,path/to/file2
The result of the procedure is a list of media Ids, which can be retrieved by MediaId for every media file uploaded.
|MediaFilePath||String||A comma-separated value of media file path to associate with the Tweet. You can include up to 4 photos or 1 animated GIF or 1 video in a Tweet.|
Result Set Columns
|MediaId||String||The Ids of the media uploaded.|