First, you'll need to register your app on X/Twitter. Follow these steps:
-
Visit https://developer.x.com/en/portal/dashboard and sign in.
-
Create a new project and app (or select an existing one).
-
In your app settings, click on "Set up" under "User authentication settings".
-
Enable "OAuth 1.0a" (required for Meteor).
-
Set "Callback URI / Redirect URL" to: {{siteUrl}}_oauth/twitter
-
Set "Website URL" to: {{siteUrl}}
-
Click "Save".
-
Go to the "Keys and tokens" tab and note down your "API Key" (Consumer Key) and "API Key Secret" (Consumer Secret).