#MainBhiChowkidar

#
Published in: Twitter

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:

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.

📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: Twitter

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
A
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account
G

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube