{"id":15040003,"url":"https://github.com/smf33/instagramfollowerbot","last_synced_at":"2025-10-04T05:30:47.264Z","repository":{"id":47439433,"uuid":"203436741","full_name":"smf33/InstagramFollowerBot","owner":"smf33","description":"Instagram Follower Bot : Bot for Instagram, in .Net Core, using a Chrome client and Selenium for command it","archived":true,"fork":false,"pushed_at":"2021-03-07T16:34:29.000Z","size":230,"stargazers_count":15,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T17:52:49.601Z","etag":null,"topics":["bot","c-sharp","chrome","chrome-client","core","csharp","docker","docker-compose","dot-net","dot-net-core","dotnet","dotnetcore","fav-pictures","instagram","net-core","netcore","robot","selenium","unfollow","unfollow-users"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smf33.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-20T18:57:48.000Z","updated_at":"2025-01-08T07:37:47.000Z","dependencies_parsed_at":"2022-08-23T12:11:18.841Z","dependency_job_id":null,"html_url":"https://github.com/smf33/InstagramFollowerBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smf33/InstagramFollowerBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smf33%2FInstagramFollowerBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smf33%2FInstagramFollowerBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smf33%2FInstagramFollowerBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smf33%2FInstagramFollowerBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smf33","download_url":"https://codeload.github.com/smf33/InstagramFollowerBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smf33%2FInstagramFollowerBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278267411,"owners_count":25958849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","c-sharp","chrome","chrome-client","core","csharp","docker","docker-compose","dot-net","dot-net-core","dotnet","dotnetcore","fav-pictures","instagram","net-core","netcore","robot","selenium","unfollow","unfollow-users"],"created_at":"2024-09-24T20:44:06.078Z","updated_at":"2025-10-04T05:30:46.932Z","avatar_url":"https://github.com/smf33.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instagram Follower Bot\n\nBot for Instagram, in .Net Core, using Chrome and Selenium for actions.\n\nMain functions :\n- Follow\u0026Like with Insta Photos Explore\n- Unfollow people not following you\n- Follow back people following you\n- Like on Insta home page\n- Can work with a remote Selenium grid and/or in docker\n- Colored console trace or VSO format for Azure DevOps execition\n- Support ApplicationInsights (allow easier tracking of multiple context execution)\n\n*Tags\t: Instagram, Chrome, Selenium, C#, .Net, Core, bot, robot*\n\n## Requirement\n\n- Windows, Linux or Mac\n- .Net SDK 5.0 : https://dotnet.microsoft.com/download\n- Chrome (not Chromium), or a Selenium server with Chrome clients\n\n## Notes\n\n- Selenium Chrome Driver must have the same version than your Chrome (change the lib version in the project if required)\n- Don't be evil, else Instagram will delete your spamming account\n- The solution is micro-service oriented, but Instagram will detected the spamming account if the bot is too fast\n- If you want to publish without remote Selenium, add _PUBLISH_CHROMEDRIVER in the DefineConstants of the .csproj\n- The account should follow at last one account, else the bot will fail to detect this\n- About \"Unusual Login Attempt Detected\" : If the bot connect from a location, OS, Browser that you never used before, you will get this email code chalenge. Pass it before lauching the bot again. You can change the OS/Browser (Chrome/Windows 10 by default) with the --user-agent in the SeleniumBrowserArguments setting.\n- Settings set by command line need to use : instead of __ depending on OS. Exemple : IFB_Logging:User\n\n## Usage\n\n### DotNet run\n![.NET Core](https://github.com/smf33/InstagramFollowerBot/workflows/.NET/badge.svg)\n\nDownload the sources and run donet sdk command in the folder of your Windows, Linux or Mac.\n\n- Run with default (users settings have been set in the .json or the environnement variable) :\n```\ndotnet run\n```\n\n- On a daily base, unfollow users whose doesn't follow you :\n```\ndotnet run IFB_TaskManager__TaskList=DetectContactsUnfollowBack,DoContactsUnfollow IFB_Logging__User=you@dom.com IFB_LoggingSecret__Password=Passw0rd\n```\n\n### Docker run\n![Docker](https://github.com/smf33/InstagramFollowerBot/workflows/Docker/badge.svg)\n\n- Build and Run default IFB_TaskManager__TaskList with Docker with a remote Selenium Hub (here another docker) :\nExemple with Z:\\InstagramFollowerBot as the source path, on a Windows system\n```\ndocker build -f Z:\\InstagramFollowerBot\\Dockerfile -t instagramfollowerbot Z:\\InstagramFollowerBot\ndocker run --name seleniumContainer --detach --publish 4444:4444 selenium/standalone-chrome --volume /dev/shm:/dev/shm\ndocker run --link seleniumContainer:seleniumhost instagramfollowerbot IFB_Logging__User=you@dom.com IFB_LoggingSecret__Password=Passw0rd IFB_Selenium__RemoteServer=http://seleniumhost:4444/wd/hub\n```\n\n### Docker Compose run\n![Docker Compose](https://github.com/smf33/InstagramFollowerBot/workflows/Docker%20Compose/badge.svg)\n\n- Build and Run default IFB_TaskManager__TaskList with Docker and an standalone Selenium\n\nExemple with IFB_Logging:User\u0026IFB_Logging:Password provided in the InstagramFollowerBot.json or in the \"environment:\" of the docker-compose.yml\n```\ndocker-compose up\n```\n\n## Configuration\n- Main settings :\nSettings may be read in command line parameter, else in environnement variable, else in InstagramFollowerBot.json.\nOnly IFB_Logging__User and IFB_LoggingSecret__Password won't have default working values from the initial configuration file.\nIFB_LoggingSecret__Password may be set to null in debug mode (the user will be able to insert the password himself)\n\n| Parameter | Description |\n| :-------- | :---------- |\n| IFB_Logger_UseApplicationInsights | Enable Microsoft Azure ApplicationInsights, you must define the environnement variable APPINSIGHTS_INSTRUMENTATIONKEY with your key |\n| IFB_Logger_UseAzureDevOpsFormating | Use a VSO log format instead of the default colored output, enable it if you run your bot through Azure DevOps pipeline |\n| IFB_LoggingSecret__Password | Password for auto-login, may be set to null if session file already created |\n| IFB_Logging__User | Email or UserName for login and filename for the session file |\n| IFB_Dumping__DumpBrowserContextOnCrash | In case of bot crash, generate a dump of the Chrome browser as .html for the html source and .png for the current view |\n| IFB_Persistence__SaveFolder | Where user informations (like cookie) are stored |\n| IFB_Persistence__UsePersistence | Will create a file for the user session and cookies |\n| IFB_Selenium__RemoteServer | Url of the Selenium Hub web service |\n| IFB_TaskManager__TaskList | Tasks to do, separatedd by a comma |\n\n- Takss :\nTask name is case insensitive\nA lot of settings in order to randomize or limit the batch, in the Bot.Json\n\n| Name | Description |\n| :--- | :---------- |\n| CHECKACTIVITY | Open/Close the Activity popup |\n| DOEXPLOREPHOTOSFOLLOW | Follow only of the DOEXPLOREPHOTOSFOLLOWLIKE, follow between IFB_ExplorePhotos__FollowMin and IFB_ExplorePhotos__FollowMax post |\n| DOEXPLOREPHOTOSFOLLOWLIKE | Follow and Like of the DOEXPLOREPHOTOSFOLLOWLIKE |\n| DOEXPLOREPHOTOSLIKE | Like only of the DOEXPLOREPHOTOSFOLLOWLIKE, like between IFB_ExplorePhotos__LikeMin and IFB_ExplorePhotos__LikeMax post |\n| DOFOLLOWBACK | Follow back your follower that you are not already following |\n| DOHOMEPAGELIKE | Like post in the home screen, like between IFB_HomePage__LikeMin and IFB_HomePage__LikeMax post |\n| DOUNFOLLOWUNFOLLOWERS | Unfollow users not following you |\n| LOOP | Restart from first task (or BEGINLOOP if present), loop for IFB_TaskManager__LoopTaskLimit times |\n| SAVE | Save the user session file, including cookie, allowing session to be resumed next application launch |\n| WAIT | Pause the worker |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmf33%2Finstagramfollowerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmf33%2Finstagramfollowerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmf33%2Finstagramfollowerbot/lists"}