Show Twitter timeline
Show My Tweets
Send a tweet
Search Twitter User
Raycast extension to search or send tweets on twitter.com
The login works with
Login with Twitter.
Login with Twitter is activate as long as no access tokens are set in the extension preferences.
When access tokens are set, the keys will be used for authentication and authorization instead of
Login with Twitter. Also the API keys approach use
v1 of the Twitter API.
Login with Twitter use v2.
This step is optional and is not required for normal usage.
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. Activate
v2 is recommended, but right no not required.
User authentication settings
https://raycast.comas Website URL
Twitter has 2 APIs -
v2. Your Twitter app needs to have enabled
v1 access when you use access tokens, otherwise you will get a
v2 API of Twitter is still in progress and not all features are available.
v2use 2 actions for
Unlike(v1 use one action which change it's state based on if the tweet is liked or not), because there is no way in v2 if the current user liked a given tweet or not
v1, but un-retweet action needs to be done on the retweet itself. In
v1it was done on the original one.