Skip to content
DunSocial Docs

Accounts

List the social accounts connected to your DunSocial workspace from the CLI and copy their ids, since post commands need account ids rather than @handles.

Post commands need DunSocial social account ids, not @handles. List them after you pick a workspace.

List accounts

dun accounts list
dun accounts list --json
dun accounts list --platform x

--platform filters by provider. Aliases include x / twitter, linkedin, linkedin-business, bluesky, threads, reddit, pinterest, instagram, youtube, tiktok, facebook / fb / facebook-page. Facebook Pages are limited beta — connect the Page in the DunSocial app, then list it here.

Each row includes:

  • id — use this with --accounts
  • providerName, username, displayName
  • isConnected, expiresAt

Tips

  • Do not invent account ids. Always list first.
  • Connect new accounts in the DunSocial app, then run accounts list again.
  • account / accounts are both accepted.