Twacc

A Slackbot which lets you manage your Twitter account along with your team directly in your Slack workspace.

Screenshots

Stack Used

NodeJS

Express

Deta

Slack API

Twitter API

Passport.js

Redis

Oracle Linux VM

What is this Project?

If I say it in a sentence, Twacc is a Slackbot which lets you manage your Twitter account along with your team directly in Slack. Using Twacc, you can directly compose tweets and threads and read your twitter feed directly in Slack.

Not only this, Twacc even lets you allow other people in your workspace to tweet from the same account. This makes managing your startup's / product's twitter account much easier and more efficient.

Why I built it:

Mostly all companies and startups out there use a Slack workspace for their team. Those companies also usually have a twitter account which is managed by their marketing department or maybe a few people from their team. The usual way the companies do this is that they share their brand account's password with each other and this makes their account vulnerable.

I think Twacc solves exactly this problem. By using twacc, only one person has to have the password and the rest of them can seamlessly use the twitter account without having the need to share the password.

How I built it:

If we look at it from the outside, it looks pretty simple. Get the twitter feed -> post it to slack. And for tweeting, get the slack message -> post it to twitter. But there were a lot of edge cases and problems I had to handle and I think this was seriously one of the tougher projects I've built.

I'm still dealing with the problem of character limit as twitter has a strict character limit and we need to alert the user before tweeting if they exceed the limit or else it will just fail. So yeah, I used (as always) Nodejs for my back-end, all the necessary user data is stored in my Deta-base, Slack API and Twitter API were mostly everywhere in my app.

To send the user's twitter feed periodically to them, I had to use redis to schedule cron-jobs every 5 minutes and it basically then fetched the feed and posted it to their twitter channel on slack. Finally, Twacc is now deployed on a Linux VM in Oracle Cloud!