Loading...
Loading...
Use the official xurl CLI for the X API. Covers install, safe auth setup, app selection, common shortcuts, and raw endpoint access.
npx skill4agent add steipete/agent-scripts xurlbrew install --cask xdevplatform/tap/xurlnpm install -g @xdevplatform/xurlcurl -fsSL https://raw.githubusercontent.com/xdevplatform/xurl/main/install.sh | bashgo install github.com/xdevplatform/xurl@latest~/.xurl--verbosexurl auth statusxurl auth oauth2xurl auth apps list
xurl auth default my-app
xurl auth default my-app alice
xurl --app dev-app /2/users/mexurl~/.xurlhttp://localhost:8080/callbackxurl post "Hello world!"
xurl reply 1234567890 "Nice post"
xurl quote 1234567890 "My take"
xurl delete 1234567890
xurl read 1234567890
xurl search "from:elonmusk" -n 10
xurl whoami
xurl user @XDevelopers
xurl timeline -n 20
xurl mentions -n 10
xurl like 1234567890
xurl unlike 1234567890
xurl repost 1234567890
xurl unrepost 1234567890
xurl bookmark 1234567890
xurl unbookmark 1234567890
xurl bookmarks -n 10
xurl likes -n 10
xurl follow @handle
xurl unfollow @handle
xurl following -n 20
xurl followers -n 20
xurl dm @handle "message"
xurl dms -n 10
xurl media upload path/to/file.mp4
xurl media status MEDIA_IDPOST_IDxurl /2/users/mexurl -X POST /2/tweets -d '{"text":"Hello world!"}'xurl -H "Content-Type: application/json" /2/tweetsxurl --auth oauth2 /2/users/me
xurl --auth oauth1 /2/tweets
xurl --auth app /2/users/mexurl --username alice /2/users/mexurl /2/tweets/search/stream
xurl -s /2/users/mexurl versionxurl auth statusxurl whoami