Skip to content

Monitor instagram user account and automatically post new images to discord channel via a webhook. Working 2022!

License

Notifications You must be signed in to change notification settings

fernandod1/Instagram-to-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Instagram to discord post images

This script executes 2 actions:

  1. Monitors for new image posted in a instagram account.
  2. If found new image, a bot posts new instagram image in a discord channel.
  3. Repeat after set interval.

Requirements:

  • Python v3
  • Python module re, json, requests

Usage:

Set environment variables:

  • Set IG_USERNAME to username account you want to monitor. Example: ladygaga
  • Set WEBHOOK_URL to Discord account webhook url. To know how, just Google: "how to create webhook discord".
  • Set TIME_INTERVAL to the time in seconds in between each check for a new post. Example: 1.5, 600 (default=600 = 10 minutes)

How to setup enviroment variables: https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-environment-variables-in-linux/

Collaborations:

Collaborations to improve script are always welcome.