This a simple backend service which can be used to post confessions or entries among a group. You need to create a confessions account on Instagram and it will post confessions received from google forms anonymously and automatically.
- Receive anonymous confessions via a google form.
- copy and paste them to a photo editing software and make an Instagrammable post photo.
- save that photo and post it to your Instagram account with proper counting.
This is a very lengthy approach. The Admin has to do a lot of work for posting each confession.
Here I purpose a program that reads the confessions from a google sheet (responses of google forms) and writes them to a specific photo template and posts these photos to Instagram with proper automatic counting. If the length of the confession is larger than a single template, it creates multiple templates for that confessions and posts an album post with all photos.
I used the following python libraries for the implementation:
pandas
python library to read confessions from google sheet.PIL
python library to modify the template by writing the confession text.instagrapi
python library to post the confessions on Instagram.
You can deploy it locally:
- Create a google form like this:
- clone this repository using
https://github.com/manoj2601/Auto-Instagram-Confessions.git
or download it in zip format and extract it. - edit config.py with your login credentials and google sheet link (where the google form responses are being stored).
- Run
python main.py
whenever you want to post confessions on your Instagram handle.
Now if you check your Instagram handle, all newly confessions are posted like the following:
Single Post short confessions:
Album post for long confessions:
All contributions and suggestions are welcome!
- Raise an issue for suggestions.
- To contribute :
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature
. - Commit your changes:
git commit -am "Add some feature"
- Submit a pull request.
Give it a star, if you like the concept.