X / Twitter Integration

Beta integration with OAuth connection and DM permissions.

Connect your X (Twitter) account using OAuth to enable DM automation. WeKeKe only requests the permissions required to read and respond to messages.

Prerequisites

  • An active X account with direct messages enabled.
  • An X API plan that includes required DM scopes/endpoints.
  • Authorized JavaScript origins and redirect URIs configured.
  • WeKeKe account signed in.

Connect in WeKeKe

1

Open Integrations

Go to Integrations in the sidebar.

2

Click “Connect X/Twitter”

Sign in and approve the OAuth consent screen.

3

Confirm status

Look for a green “Connected” state in the card.

OAuth configuration

  • Authorized JavaScript origins should include your domain (e.g. https://wekeke.com).
  • Authorized redirect URIs should include the provider callback URL.
  • Ensure the client ID and secret match the X app settings.

Troubleshooting

  • origin_mismatch: add the correct origin in X developer settings.
  • invalid_client: verify client ID/secret in env vars.
  • access denied: confirm the app is in testing or approved for prod.

Disconnecting

Use the Disconnect action in WeKeKe to revoke stored tokens. You can also revoke access in your X account’s connected apps.