Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Users submit 'confession' to a web form which gets sent to server that converts confession into a picture and then posts it on Instagram.

License

Notifications You must be signed in to change notification settings

isaackoz/Instagram-Confessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram-Confessions

Users submit 'confession' to a web form which gets sent to server that converts confession into a picture and then posts it on Instagram.

Whole thing runs in one script. Requires:

  • InstagramAPI
  • Pillow
  • textwrap3

Web form should be hosted on a website that allows php scripts to be run. I used 000webhostapp and it worked fine.

Instagram has some limitations on how much you can post but I found that at least 60 seconds between each post didn't arrise any issues. You also must have a verified email/phone number on account or else it won't let you post anymore and won't tell you why... that was fun to debug.

You also need to create a captcha and fill in the keys for the website. Without it, people started to spam the form with bots and messed it up.

The webform sends the ip address and confession to the server. The server stores the ip address and confession in a database (yay for being anonymous lol) and then creates and image locally to post to instagram. Once posted the image is deleted locally but the database still has records... just in case you want to see what ip is sending what and adding them to the blacklist if needed.

About

Users submit 'confession' to a web form which gets sent to server that converts confession into a picture and then posts it on Instagram.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published