Skip to content

Package (scheduled job) for liking friends' post on Instagram

Notifications You must be signed in to change notification settings

galenhwang/InstaLike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstaLike

A service that automatically likes posts on Instagram from friends.

Project Description:

Built this after I got lazy of scrolling Instagram for long periods. Uses Express.js. The following values can be configured:

In app.js:

  • MAX_LIKE_THRESHOLD
  • DAYS_AGO_THRESHOLD

(I believe Instagram has a 200 requests/hour limit before they start throttling, so the two values are important)

In files:

  • lists/regular.txt
    • Contains line-separated usernames of friends whose post you want to like
  • .env
    • Contains your Instagram username and password, and the last post seen while running this service (so you don't like posts back this service's last run

TODOs

  • Containerize service
    • Docker, AWS Lambda, can be run as cron job
    • Feature to schedule run frequency
  • UI
    • For adding friends' usernames
    • Configure max like and days ago threshold
  • Generate comments from post contents using image recognition and text analysis

To run

  1. Add usernames of friends you want to auto like posts to lists/regular.txt, one username per line. For example:
user_1
user_2
  1. Add your Instagram username and password to .env:
IG_USERNAME=username
IG_PASSWORD=password
  1. From repository root
  • npm install
  • npm start
  • curl http://localhost:3000/likePosts
    • (You can access the above endpoint via browser)

About

Package (scheduled job) for liking friends' post on Instagram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published