Tool

Upload media

The Twitter Upload Media tool allows users to effortlessly upload new media files to Twitter directly through an API interface. It supports precise media categorization to optimize the upload process for specific use cases such as video amplification.

twitter

Features

  • Supports uploading various media files by specifying file path or URL.
  • Enables media categorization with predefined options like 'amplify_video' to tailor media usage.
  • Integrates seamlessly with Twitter's official API for reliable media uploads.
  • Accepts file inputs from the temporary server directory (/tmp) for streamlined processing.
  • Provides clear documentation linking to Twitter's API reference for easy implementation.

Benefits

  • Simplifies media upload workflows for developers and social media managers.
  • Enhances content distribution by categorizing media for targeted amplification.
  • Reduces manual handling with automated uploads via API calls.
  • Ensures compatibility with Twitter’s latest media upload standards and protocols.
  • Supports efficient content management by allowing predefined media categories.

Description

Upload new media. See the documentation

Parameters

2 parameters

NameTypeDescription
filePathrequiredstring

Provide either a file URL or a path to a file in the /tmp directory (for example, /tmp/myFile.pdf).

media_categoryenum

The category representing the media usage.

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy