SimpleInstaBot icon indicating copy to clipboard operation
SimpleInstaBot copied to clipboard

skip business accounts

Open Sobhanes opened this issue 3 years ago • 7 comments

a "prevent business accounts" option would be great.

Sobhanes avatar Sep 02 '22 13:09 Sobhanes

how to identify a business account?

mifi avatar Sep 02 '22 14:09 mifi

I guess it would be based on switching to professional account and whether they've chosen the shopping or business and stuff (which is shown down to name of an account). idk abt the technical ways...

Sobhanes avatar Sep 02 '22 15:09 Sobhanes

I don't know how to distinguish between busness and non-business accounts. do you have an example of a business account and a normal account, where you can see difference somewhere on the webpage?

mifi avatar Sep 02 '22 15:09 mifi

In webpage there is no difference. But api response will have it.

kingbotss avatar Sep 02 '22 16:09 kingbotss

Which api endpoint?

mifi avatar Sep 02 '22 16:09 mifi

https://i.instagram.com/api/v1/users/web_profile_info/?username=any_username

kingbotss avatar Sep 02 '22 16:09 kingbotss

we already send that request so it should be possible to filter on that then https://github.com/mifi/instauto/blob/96b5fa837f3375aa0df1e1397eef0c9d97a72c56/src/index.js#L295

mifi avatar Sep 02 '22 18:09 mifi