📊 Create Polls
Create poll tweets with 2–4 options and a configurable duration.
📋 What It Does
- Opens the tweet compose box
- Types your poll question
- Clicks the poll icon to open the poll builder
- Fills in 2–4 options
- Sets poll duration (hours/days)
- Posts the poll
🌐 Browser Console Script
Steps:
- Go to
x.com/home - Edit CONFIG with your question and options
- Open console (F12) and paste
src/createPoll.js
Configuration:
const CONFIG = {
question: 'What is your favorite programming language?',
options: ['JavaScript', 'Python', 'Rust', 'Go'],
durationDays: 1,
durationHours: 0,
durationMinutes: 0,
};
📁 Files
src/createPoll.js— Browser console poll creator
⚠️ Notes
- Polls require 2–4 options (X limitation)
- Maximum duration is 7 days
- The script auto-adds option fields if more than 2 options are specified
- You must be on the home timeline or any page with the compose box available
⚡ Ready to try Create Polls?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts