一键导入
minipostiz-reddit-setup
Reddit OAuth setup for minipostiz-cli — create script app, get client credentials, store with username/password/subreddit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reddit OAuth setup for minipostiz-cli — create script app, get client credentials, store with username/password/subreddit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | minipostiz-reddit-setup |
| description | Reddit OAuth setup for minipostiz-cli — create script app, get client credentials, store with username/password/subreddit |
| type | setup |
Reddit uses OAuth2 password grant for script-type apps. You need app credentials + your account credentials + a target subreddit.
| Credential | Flag |
|---|---|
| Client ID | --clientId |
| Client Secret | --clientSecret |
| Reddit Username | --username |
| Reddit Password | --password |
| Target Subreddit | --subreddit |
minipostiz (or any name)http://localhost (required, not used)abc123xyz)u_yourname — your profile subreddit)minipostiz auth --platform reddit \
--clientId "abc123xyz" \
--clientSecret "YOUR_CLIENT_SECRET" \
--username "your_reddit_username" \
--password "your_reddit_password" \
--subreddit "test"
# Or via supercli
sc minipostiz auth set-reddit \
--clientId "abc123xyz" \
--clientSecret "YOUR_CLIENT_SECRET" \
--username "your_reddit_username" \
--password "your_reddit_password" \
--subreddit "test"
Use your own subreddit
u_yourusername(profile posts) or a subreddit you own for testing.
minipostiz auth verify --platform reddit
minipostiz publish --platform reddit --message "# Test Post
This is a test post via minipostiz-cli."
Reddit posts are self (text) posts. minipostiz-cli maps:
minipostiz publish --platform reddit --message "# Post Title
Post body with **markdown** support."
The subreddit stored in auth is the default. To override:
# Store multiple reddit auth entries by adding extra credentials
# (minipostiz stores one per platform — change subreddit in auth to switch)
minipostiz auth --platform reddit --clientId ID --clientSecret S \
--username U --password P --subreddit "anothersubreddit"
| Error | Cause | Fix |
|---|---|---|
invalid_grant | Wrong username/password, or 2FA enabled | Disable 2FA or use password without special chars |
403 Forbidden | Subreddit posting restricted | Try your profile subreddit u_yourusername |
RATELIMIT | Too many requests | Reddit limits to ~1 post per 10 minutes |
SUBREDDIT_NOTALLOWED | Account karma/age too low | Post to your own subreddit first |
invalid_client | Wrong app type | Ensure app type is script, not web/installed |
Reddit password-grant tokens expire after 24 hours. minipostiz-cli re-authenticates automatically on each post using your stored credentials.
Storing your Reddit password in minipostiz-cli's SQLite DB (~/.minipostiz/minipostiz.db) is safe for personal use. For shared environments, use a dedicated alt account.
Facebook Graph API setup for minipostiz-cli — create app, get page access token + page ID, store credentials
Bluesky AT Protocol setup for minipostiz-cli — create app password, store handle + password
Dev.to API setup for minipostiz-cli — generate API key, store credentials, posting format
Discord webhook setup for minipostiz-cli — create webhook in a channel, store URL
Mastodon API setup for minipostiz-cli — create application, get access token, store instance URL + token
Telegram Bot API setup for minipostiz-cli — create bot via BotFather, get token + chat ID, store credentials