Hey guys, I’m back again and very pleased to announce that TikTok Tweet 1.0 GA has just been released. This has been an exciting and rewarding journey of learning (and a little frustration!) for me, and I’m pleased to be able to give you a tour of the finished product.

Getting Started

Once you clone the repo from Github, you can check out the project’s structure:

Go into the conf folder and right off the bat, you need to edit config.txt to your liking:

[connection]
host = 127.0.0.1
keyspace = tiktok

Here you need to specify the address of your cluster/node, as well as the keyspace where the tweets and related data are going to be held. This is so that cqlengine can connect to your database.

[replies]
in_reply_to = @CassPopQuiz
account_id = 2815304775

Add “@YourUserName” and your twitter count id such that the program can collect replies to yor tweets

First type the text of your tweet into the Create a Tweet page (limit of 140 characters of course!)

For now we are just going to save it in the database, not going to add it to a queue just yet. Just type in your tweet and hit the Create button.
Now let’s create a queue though the Manage a Queue section. Give your new queue a name and hit Submit:

Head into the Schedule a Tweet our tweet part of our app and find our tweet waiting to be added to a queue:
Let’s add this to a queue. Set a date:

…and time:

Add viola! Our tweet appears on our timeline at approximately the time we chose:

When someone responded to one of our tweets, it gets stored in our database:

To see responses to tweets, to the Manage Responses section of the site and select the queue from which you would like to see associated responses:

We can see the replies to our tweets in the order they came in

I think this application will help me a lot in managing my daily Cassandra Pop Quiz on Twitter, now all I need is to come up with some great questions! Any body who wants to download the source good and give me some feedback, it would be much appreciated. This is the first full stack application I’ve completed all the way through, so I’m definitely looking for some helpful tips and hints. I’d still like to add some other features, like a UI for administration. I’ll be continuously looking for ways to improve this app and more cool features to add.