goodwin64 / instagram-not-mutual-followers

Tampermonkey based script for the Instagram to detect which people you follow do not follow you back
20 stars 1 forks source link

Feature Request: Remove "Bastards" who are not following you back #1

Closed WardenCommander closed 4 years ago

WardenCommander commented 4 years ago

could you add feature to Remove "Bastards" who are not following you back

goodwin64 commented 4 years ago

Hi,

do you mean the feature to automatically unsubscribe from these users?

WardenCommander commented 4 years ago

Yes. Right now Im using your original code. as one that you put on greasyfork is not working for me.

https://greasyfork.org/en/scripts/399405-instagram-not-mutual-followers

WardenCommander commented 4 years ago

This is Error/warning I get when i run your script on Chrome/tampermonkey

DevTools failed to parse SourceMap: webpack:///node_modules/@typed/compose/lib.es2015/index.js.map DevTools failed to parse SourceMap: webpack:///node_modules/@typed/compose/lib.es2015/compose.js.map DevTools failed to parse SourceMap: webpack:///node_modules/lines-unlines/dist/index.js.map DevTools failed to parse SourceMap: webpack:///node_modules/ts-type-guards/dist/index.js.map DevTools failed to parse SourceMap: webpack:///node_modules/ts-type-guards/dist/is.js.map DevTools failed to parse SourceMap: webpack:///node_modules/ts-type-guards/dist/array.js.map DevTools failed to parse SourceMap: webpack:///node_modules/ts-type-guards/dist/only.js.map

WardenCommander commented 4 years ago

Ok, figure it out, now its working message is still showing but button is here.

goodwin64 commented 4 years ago

I'll double-check it on my laptop, seems like source maps issue.

Yeah, I can add this feature. Roughly in 2 days (will be available on Apr 10-11).

goodwin64 commented 4 years ago

Dug into this a little. I think it will be delayed for the next weekends (Apr 18-19 or 25-26).

WardenCommander commented 4 years ago

Hey @goodwin64

I used your original code and, expand it with 2 new buttons one for removing people. and one for extracting images where Im tagged and pictures that I published. I have a problem that function doesnt "wait" for GetAllPictures() to finish but it executes commands. console.log(UserPicture), console.log(UserTaggedPicture),

What im trying to do is extract images, and from them who liked, and who comment on them. to use that leads for future follow and unfollow option. Im sending you your modified script. If you want to take a look. Script.txt

function createBotPictureTag() { let isEnabled = false;

const api = { startBot: () => { if (isEnabled) { return; } GetAllPictures() .then(([UserPicture, UserTaggedPicture]) => [ console.log(UserPicture), console.log(UserTaggedPicture), ]) .then(([UserPicture, UserTaggedPicture]) => { api.stopBot(); console.log(UserPicture); console.log(UserTaggedPicture); localStorage.setItem("MyPictures",JSON.stringify(UserPicture)); localStorage.setItem("MyTaggedPictures",JSON.stringify(UserTaggedPicture)); //TEST("MyPictures","MyTaggedPictures"); }); }, stopBot: () => { clearInterval(isEnabled); isEnabled = null; }, isEnabled: () => Boolean(isEnabled), };

return api; }

goodwin64 commented 4 years ago

@WardenCommander issue is solved, please check it out.