DEV Community

Cover image for TweetGagger Plugin: getLikes, getRetweets, getReplies
Sojin Samuel
Sojin Samuel

Posted on

TweetGagger Plugin: getLikes, getRetweets, getReplies

This is a submission for the Coze AI Bot Challenge: Trailblazer.

What I Built

TweetGagger needs an id associated with a TWeet URL to get all the details which includes details of the liking users, retweeting users, replies being made to that particular tweet.

I made this plugin for my GiveAway Picker bot, where it needed to check actions mentioned on a giveaway contest hosted on Twitter where Authors asking users to Like, Retweet and Comment something specific, then a random user(s) get shortlisted for winning prices.

But this isn't just a plugin that usefull for my bot, you can use this to get engagement metrics of a tweet, check for Spamming users who are making irrelevant comments etc

Demo

TweetGagger Plugin
Find the TweetGagger Plugin from Store.

getRetweet function execution response from GiveAwayPicker bot.

Execution

Each functions are triggered only when an action associated with it is mentioned in the Tweet.

Journey

Submitted via Coz Studio, at first it did seem a little scary. But finally I did make it work out.

Thanking Coze for hosting such a wonderful hackathon and this is my last submission to this challenge.

Best of luck to all the participants.

Top comments (0)