#MainBhiChowkidar

PM Narendra Modi today launched the #MainBhiChowkidar campaign on Twitter with a tweet. It quickly went viral, gaining over 80K likes in few hours, and the Twitter trending page suggests that around half a million tweets have been posted so far containing the #MainBhiChowkidar hashtag.

There’s something really interesting behind this hashtag.

If you publish a tweet containing the MainBhiChowkidar hashtag, you are very likely to receive a personalized reply from the official @narendramodi handle thanking you for supporting the “Main Bhi Chowkidaar” movement.

Here’re some responses received by the tweeters:

https://twitter.com/narendramodi/status/1106884149472829440

https://twitter.com/narendramodi/status/1106880597903974402

https://twitter.com/narendramodi/status/1106868960941752320

https://twitter.com/narendramodi/status/1106848377034153984

The #MainBhiChowkidar Twitter Bot

It is obvious that Mr. Modi is not manually writing these “thank you” tweets but the job is handled by a Twitter bot.

This bot is doing some smart things under the hood. Here’s why:

  1. The tweets are worded differently.
  2. The images of Mr. Modi embedded in the tweets are different per response.
  3. The images contain a personalized message — it includes the first name of the person who wrote the tweet.

Writing a Twitter bot is easy but the #MainBhiChowkidar bot is more than just a normal auto-reply bot. It reads the tweets with the #hashtag, fetches the first name of the tweeter, generates a dynamic JPEG image with that name and then sends a personalized reply with that image.

The other interesting thing is that these auto-reply tweets cannot be found through Twitter search.

For instance, a search for from:narendramodi #MainBhiChowkidar shows exactly 1 tweet and none of the response tweets. Also, if you go to the replies timeline of @narendramodi, these reply tweets aren’t listed there though they have originated from that very account.

The source of the tweets reveal that the #MainBhiChowkidar bot is internally called “messages 2019” and it has been built by @OpalinaTech, a Noida-based software services company.

Amit Agarwal is a web geek, solo entrepreneur and loves making things on the Internet. Google recently awarded him the Google Developer Expert and Google Cloud Champion title for his work on Google Workspace and Google Apps Script.

Awards & Recognition

Google Developer Expert

Google Developer Expert

Google awarded us the Developer Expert title recogizing our work in Workspace

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional title for 5 years in a row

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator award for technical expertise

Want to stay up to date?
Sign up for our email newsletter.

We will never send any spam emails. Promise 🫶🏻