Tokens

Getting your tokens to authorize tweet.js to access you account

Logging in/ signing up

Go to Twitter and log in or sign up for an account which you would use for development.

It is recommended to create a separate account for your twitter app, Especially for creating a bot

Applying for access

Go to developers.twitter.com and apply

After applying you will have to wait a few days until Twitter reply back to you if you were accepted or they need more infomation...

The steps from here need to be done after you have developer access

Creating a app on Twitter

Create an APP on developer.twitter.com Fill in the required details

Getting your tokens

Now you would have to deside on what auth you want user - on a user account app - on a app user auth requires 4 keys, and this guide only follows user aut app auth only require bearer_token

Go to keys and tokens and generate an access token and access token secret, these four alphanumeric string thingies are the reason we went through so much trouble of making a developer account and app. consumer_key:’ ’, consumer_secret:’ ’, access_token:’ ’, access_token_secret:’ ’ these are the needed fields for you bot to work!!

Have a nice day coding :)

Last updated