[PR #57] [CLOSED] Added new functionality "Download All Followers List" #346

Closed
opened 2026-03-07 20:16:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/davidarroyo1234/InstagramUnfollowers/pull/57
Author: @umutakmak
Created: 2/10/2023
Status: Closed

Base: masterHead: master


📝 Commits (10+)

📊 Changes

6 files changed (+203 additions, -38 deletions)

View changed files

📝 README.md (+14 -5)
assets/main.png (+0 -0)
assets/main2.png (+0 -0)
📝 dist/dist.js (+1 -1)
📝 src/main.ts (+118 -28)
📝 src/styles.scss (+70 -4)

📄 Description

I know this is a complete new option that you guys weren't expecting. Your code was working great at showing unfollowers but i was in need of listing followers in my account. So i made this a side option in your code. This allows users to download their followers as a txt file in array form or with every username new line.

Changed:

  • Button styles changed
  • Button "RUN" name changed to "SHOW UNFOLLOWERS" (also this button's id and classname changed for better readebility)
  • Added new button "DOWNLOAD ALL FOLLOWERS LIST"
  • Added 2 new buttons "AS ARRAY" and "EVERY USER NEW LINE" which shows when you press "DOWNLOAD ALL FOLLOWERS LIST" button
  • Updated README and first image in it
  • Added "downloadTextFile" function
  • Only added few lines to your current "getNonFollowersList", "afterUrlGenerator" and "copyListToClipboard" functions to work with this new option
  • Changed getting user_id from everytime to just one time for better optimization
  • "Non-followers" text in left bottom corner changes to "Followers" when you choose the download option

What might go wrong:

  • I didn't tested this for 5000+ followers because i don't have an account like that. Browser memory might go full if a user with 100.000+ followers try this new option. But my new code just stores usernames as array, not all of the user objects. This should allow to store more usernames in memory. I wrote a little warning note about this in readme file.
  • Older browsers might not support the auto downloading function. In that case users can just use copy list button. Added this as a note in readme file.

What can be done with this code in the future:

  • We might allow users to download their list as txt file when they are using "SHOW UNFOLLOWERS" option.
  • We might also make a new option for "DOWNLOAD ALL FOLLOWED LIST" which is the same thing with the user's following list.

I made my own tests and everything seems to work fine. It is up to you if you want to accept my pull request or not but this became a very useful tool for me. This might be what other people are looking for too.

(Also this is my first pull request, but not my first code. If something is missing or i have done something wrong, just let me know.)

(Another note: I changed my files more than 1 time, that is why you might see i made 19 commits, but actually most of them are the same files.)

Thanks for all of your great work.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/davidarroyo1234/InstagramUnfollowers/pull/57 **Author:** [@umutakmak](https://github.com/umutakmak) **Created:** 2/10/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`9442557`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/944255718e6e046ee0b85c1a47c5666f4e1914ad) Update styles.scss - [`781534b`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/781534b600a4b1786fee0741bd54b928781aca48) Added option to Download All Followers List - [`a275750`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/a275750ae1b98164b2bf634ed4ba1cd960a5be30) Deleting main.png for uploading a new one - [`6b3728b`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/6b3728b341718b8b6d3fa9aa9e8b5812d8de8aa6) Updated readme picture - [`a0472bb`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/a0472bb5ef3f353355f7862a29d570c25cade4f2) Delete main.png - [`d108c1c`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/d108c1ca8a0a9e459151fa56f1579b43915b4b46) Add files via upload - [`005bced`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/005bcedc1b3d8ccc99a0f2ce464a2146c71a91e7) Add files via upload - [`08d2b41`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/08d2b41914b1956cfe41768f98da4e093b95e7c2) Delete main.png - [`68d0429`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/68d0429b223ea69de54f32235c022342b61c0325) Updated for "Download All Followers List" option - [`e1a1406`](https://github.com/davidarroyo1234/InstagramUnfollowers/commit/e1a1406ba75c89e3719771168deef35c8b12795b) Update README.md ### 📊 Changes **6 files changed** (+203 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+14 -5) ➖ `assets/main.png` (+0 -0) ➕ `assets/main2.png` (+0 -0) 📝 `dist/dist.js` (+1 -1) 📝 `src/main.ts` (+118 -28) 📝 `src/styles.scss` (+70 -4) </details> ### 📄 Description I know this is a complete new option that you guys weren't expecting. Your code was working great at showing unfollowers but i was in need of listing followers in my account. So i made this a side option in your code. This allows users to download their followers as a txt file in array form or with every username new line. Changed: - Button styles changed - Button "RUN" name changed to "SHOW UNFOLLOWERS" (also this button's id and classname changed for better readebility) - Added new button "DOWNLOAD ALL FOLLOWERS LIST" - Added 2 new buttons "AS ARRAY" and "EVERY USER NEW LINE" which shows when you press "DOWNLOAD ALL FOLLOWERS LIST" button - Updated README and first image in it - Added "downloadTextFile" function - Only added few lines to your current "getNonFollowersList", "afterUrlGenerator" and "copyListToClipboard" functions to work with this new option - Changed getting user_id from everytime to just one time for better optimization - "Non-followers" text in left bottom corner changes to "Followers" when you choose the download option What might go wrong: - I didn't tested this for 5000+ followers because i don't have an account like that. Browser memory might go full if a user with 100.000+ followers try this new option. But my new code just stores usernames as array, not all of the user objects. This should allow to store more usernames in memory. I wrote a little warning note about this in readme file. - Older browsers might not support the auto downloading function. In that case users can just use copy list button. Added this as a note in readme file. What can be done with this code in the future: - We might allow users to download their list as txt file when they are using "SHOW UNFOLLOWERS" option. - We might also make a new option for "DOWNLOAD ALL FOLLOWED LIST" which is the same thing with the user's following list. I made my own tests and everything seems to work fine. It is up to you if you want to accept my pull request or not but this became a very useful tool for me. This might be what other people are looking for too. (Also this is my first pull request, but not my first code. If something is missing or i have done something wrong, just let me know.) (Another note: I changed my files more than 1 time, that is why you might see i made 19 commits, but actually most of them are the same files.) Thanks for all of your great work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 20:16:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/InstagramUnfollowers#346
No description provided.