Register as developer
Create an app (this will be displayed next to your tweets)
Store the App-Key and the App-Secret in a secure(!) box
Then adjust the required permissions
Per default it is read-only
. This is fine if you only want to read tweets.
If you want to e.g. like, retweet or send tweets, you should have at least read + write
.
Make sure that you change the permission before creating user access tokens. You can only change permission for an existing user access token by revoking/regenerate the tokens. Clients which use the old tokens would not work anymore!
Create User access tokens
After all these steps you should have all required 4 tokens.
Store them in a secure box, twitter want display that again for you.
You also need to activate OAuth 1.0a
for at least v1
API, otherwise you will get an 403
error.
User authentication settings
Set up
OAuth 1.0a
https://raycast.com/redirect
as Callback URI
https://raycast.com
as Website URLSave
Twitter has 2 APIs - v1
and v2
. Your Twitter app needs to have enabled v1
access, otherwise you will get a 403
error.
The v2
API of Twitter is still in progress and not all features are available which would be required for this extension.