
tweet 4.0.2
an Abbot package for Discord by Serious Business
A Twitter skill for Abbot
About Abbot
Abbot is a programmable bot that turns your team chat into a shared command center. We handle all the boilerplate of building and running these conmmands so that you can focus on making tools that help you ship faster.
We built Abbot because we saw the power of this style of work (called ChatOps), when we worked at GitHub. ChatOps made it possible for GitHub to work productively without meetings, while globally distributed. We think it's a pretty great way to work, so we made it easy to use in Slack, Discord, and Microsoft Teams.
You can read more about Abbot here, check out our blog, or take a look at some of the other cool packages available as a one-click install from Abbot's Package Directory.
README
Tweet, retweet, like, and follow all from chat with the tweet
skill!
The tweet
skill makes it easy to manage a brand or team twitter account from Chat. Use Abbot's built-in access controls to limit who can tweet from the twitter account. This allows a team to manage a twitter account without members having access to the credentials for the Twitter account.
Authentication
The tweet
skill acts as a Twitter client for a single Twitter account per chat room. To authenticate that account, start with:
@abbot tweet auth
- This will initiate the process and return an authorization URL.- Visit the authorization URL in your browser and authorize Abbot to tweet on your behalf. After authorizing the account, the browser will show you a 7-digit PIN. You'll use that PIN in the next step
@abbot tweet auth {pin}
- Replace with the PIN from the previous step. This completes the authorization flow. Now you can tweet from the chat room.
Try it!
Once you have authentication set up, tweet away!
@abbot tweet I just set up the tweet skill in Abbot and can tweet from chat!
Abbot will respond with a link to the tweet.
Usage
@abbot tweet {the text of your tweet}
-- sends a tweet
@abbot tweet length {the text of your tweet}
-- returns the number of characters in your text
@abbot tweet RT {a link to a tweet to retweet}
-- retweets a tweet
@abbot tweet reply {tweet link} {text of reply}
-- replies to a tweet
@abbot tweet follow {username}
-- follows an account
@abbot tweet unfollow {username}
-- unfollows an account
@abbot tweet like {link to tweet}
-- likes a tweet (can also use FAV or FAVE)
## Authentication
@abbot tweet auth
- to authenticate the Twitter user this skill will manage in the current room.
@abbot tweet auth {pin}
- to complete the authentication process. The pin is supplied by Twitter after you authenticate to Twitter in the browser.
@abbot tweet auth user
- to find out which Twitter account the current room is authorized to manage.
Code
Version History
Version | Created | Author | Release Notes | Installs |
---|---|---|---|---|
4.0.2 | 10/14/2021 |
![]() |
Fix the usage text. |
0 |
4.0.1 | 10/14/2021 |
![]() |
Updated the usage text to reflect the new approach |
0 |
4.0.0 | 9/22/2021 |
![]() |
This release changes the key we use to store the Twitter token. Previously, we used the |
0 |
3.1.2 | 9/18/2021 |
![]() |
Makes the skill more resilient to upcoming potential breaking changes in the Python skill runner. |
1 |
3.1.1 | 9/18/2021 |
![]() |
When trying to include a twitter username that just happens to match a Slack username, Slack replaces the mention with its own mention syntax. This release catches that situation and prevents the tweet from going out. It provides an escape mechanism to mention accounts. Just use a double |
0 |
3.1.0 | 7/26/2021 |
![]() |
Add support for retrieving the current Twitter user that's authorized for a room. |
0 |
3.0.1 | 7/26/2021 |
![]() |
Format the auth link nicely |
0 |
3.0.0 | 7/26/2021 |
![]() |
The skill no longer needs Twitter developer keys. Instead, run |
0 |
2.1.2 | 7/23/2021 |
![]() |
Only pass the endpoint portion of the URL to the Abbot Twitter Client |
0 |
1.1.2 | 7/23/2021 |
![]() |
No longer requires developer keys. Only a Twitter consumer key and consumer secret. |
0 |
1.1.1 | 4/20/2021 |
|
Added the ability to reply! Reply to tweets with: @abbot tweet reply |
0 |
1.0.1 | 4/20/2021 |
|
Update usage text to make the package listing look nicer. |
0 |
1.0.0 | 4/20/2021 |
|
First release! |
0 |
Not using Discord? No worries! Abbot works in Slack, Discord, and Microsoft Teams.
It's free to get started!
Details
- Last updated
- Installs
- 1 total install
- Language
- Python
- License
- MIT License