Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

It is an easy-to-use tool created using PHP and other open-source technologies to provide basic integration actions with the Instagram API.

Notifications You must be signed in to change notification settings

oviniciusfeitosa/php-fwgram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-fwgram

About

It is an easy-to-use tool created using PHP and other open-source technologies to provide basic integration actions with the Instagram API.

Attention use this tool at your own risk.

Goals

  • Like by Hashtag
    • Filtering by:
      • One like Per User
      • Show liked users at end
      • Gender
  • Follow :
    • Create a JSON file with a list of Followed Users if doesn't exists.
    • Filters:
      • By User
      • By List of Users
      • By Hashtag
      • Check if user follows me
  • Unfollow :
    • Filters:
      • By JSON file with a followed Users
      • By JSON file with a following backup list
      • Massively (All Users)
  • Tools
    • Backup instagram Following list(string, json)
    • Backup instagram Followers list(string, json)
    • Get Followed Diff By JSON Backup Following
  • Comments :
    • @todo: Fill here
  • Add Tests

Steps

  1. Download Application dependencies.
    composer update
  1. Create your own .env file by .env.example

  2. Setup your APP_USERNAME and APP_PASSWORD

  3. Choose one of actions inside actions folder and execute using PHP.

You will find some actions below.

Action : Like by Hashtags

You will need to set following environment variables in your .env file:

  • USERNAME_SEARCHED
  • HASHTAG
  • BACKUP_DATA_FOLDER
  • MAXIMUM_LIKES_PER_HASHTAG
  • MAXIMUM_LIKES
  • ONE_LIKE_PER_USER
  • LIKE_MALE
  • LIKE_FEMALE
  • SHOW_LIKED_USERS

To perform this action, execute the command bellow.

php actions/likeByHashtag.php

Action : Follow by Hashtags

You will need to set following environment variables in your .env file:

  • USERNAME_SEARCHED
  • HASHTAG
  • BACKUP_DATA_FOLDER
  • MAXIMUM_FOLLOWED_PER_HASHTAG
  • MAXIMUM_FOLLOWED
  • SHOW_FOLLOWED_USERS

To perform this action, execute the command bellow.

php actions/followByHashtag.php

Action : Unfollow

You will need to set following environment variables in your .env file:

  • USERNAME_SEARCHED
  • HASHTAG
  • BACKUP_DATA_FOLDER
  • MAXIMUM_FOLLOWED
  • SHOW_FOLLOWED_USERS

To perform this action, execute the command bellow.

php actions/unfollowByFollowedUsers.php

or

php unfollowByFollowingBackup.php

Action : Backup User Following

You will need to set following environment variables in your .env file:

  • BACKUP_DATA_FOLDER
  • USERNAME_SEARCHED

To perform this action, execute the command bellow.

php actions/backupFollowing.php

Action : Backup User Followers

You will need to set following environment variables in your .env file:

  • BACKUP_DATA_FOLDER
  • USERNAME_SEARCHED

To perform this action, execute the command bellow.

php actions/backupFollowers.php

Tecnologies

  • PHP 7+
  • Docker

References

About

It is an easy-to-use tool created using PHP and other open-source technologies to provide basic integration actions with the Instagram API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages