TDV Adapter for Twitter

Build 21.0.8137

UploadMedia

Uploads an image or video.

Stored Procedure Specific Info

Upload Media

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.

Input

Name Type Description
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

Name Type Description
MediaId String The Ids of the media uploaded.

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137