# Publish a post — X (Twitter) Botize method — `twitter.update_with_media` (action). Post a tweet with the message you set and, optionally, an image or video. - Botize does not alter, add or modify the message or the image/video. - Supported image formats: JPG, PNG, GIF, WEBP. - Maximum size for images: 5 MB (15 MB for animated GIF). - Maximum 140 seconds and 4 MB for videos. - You can configure it to remove users, hashtags and tweet links. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `mb_switch` *(boolean)* — Rules - `tweet` *(string)* — Tweet - `image` *(string)* — Image or Video file URL - `reply_settings` *(string, one of: "" = Everyone; "mentionedUsers" = Only people you mention; "following" = Only people you follow)* — Who can reply to the Tweet - `remove_users` *(boolean)* — Users - `remove_links` *(boolean)* — Links - `remove_hashtags` *(boolean)* — Hashtags It also accepts repeatable field groups, with these prefixes: `mb_filters_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{tweet_id}}` *(text)* — Tweet Id ## Account Needs a connected X (Twitter) account in Botize: https://botize.com/en/app/twitter/authenticate ## This app Every trigger and action for X (Twitter): https://botize.com/en/app/twitter.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/twitter/update_with_media