Snbig / InstaTrack

Convert Instagram user ID to username & vice versa
MIT License
107 stars 32 forks source link

[Bug] Instagram API rate limit #5

Open Snbig opened 5 years ago

Snbig commented 5 years ago

@Snbig Thanks for the quick update. Yep, there’s a limit on instagrap api calls, and I’m not sure what is it. You can try to call some functions 2000 times without timeout, and you will get a messege from instagram “ an error occured please try again later”. By the way, could add anothet option to export the results as an excel file? First coloumn with user id, and second one with the username

Originally posted by @rabe398 in https://github.com/Snbig/InstaTrack/issues/3#issuecomment-506551291

Snbig commented 5 years ago

@Snbig Thanks for the quick update. Yep, there’s a limit on instagrap api calls, and I’m not sure what is it. You can try to call some functions 2000 times without timeout, and you will get a messege from instagram “ an error occured please try again later”. By the way, could add anothet option to export the results as an excel file? First coloumn with user id, and second one with the username

Originally posted by @rabe398 in #3 (comment)

Regarding to Instagram GraphQL API limitation which has been defined here, API is limited to 200 calls per hour and others such as CPU limiting and etc., so using timeout for each API requests is not functional to get rid of the limitations.

I fixed this issue by caching 'Rate limit' message with stopping the execution of code and showing the unchecked userid/username https://github.com/Snbig/InstaTrack/commit/d0002ff330206515b2503f98f29b2158818dbb68

If i could find a way to bypass Instagram rate limiting i will apply it with new commit.

ghost commented 5 years ago

Cheers

Pain-N-Panic commented 4 years ago

SNbig, thank you for this script. I am new to Python and am trying to run this script on Qpython3 APK on a rooted Android device (Android 9.0). I cannot for the life of me figure out how to run it on the built-in terminal. I've read and googled for hours and can't seem to figure it out, is it even possible to run your script on an Android device? Thanks!

Snbig commented 4 years ago

SNbig, thank you for this script. I am new to Python and am trying to run this script on Qpython3 APK on a rooted Android device (Android 9.0). I cannot for the life of me figure out how to run it on the built-in terminal. I've read and googled for hours and can't seem to figure it out, is it even possible to run your script on an Android device? Thanks!

Look at the wiki : https://github.com/Snbig/InstaTrack/wiki/Using-InstaTrack-on-Android-with-Termux#how-to-use

Pain-N-Panic commented 4 years ago

Thank you! I'm definitely making progress but am met with this error after the last command:

$ git clone https://github.com/Snbig/InstaTrack.wiki.gitCloning into 'InstaTrack.wiki'... remote: Enumerating objects: 6, done. remote: Counting objects: 100% (6/6), done. remote: Compressing objects: 100% (5/5), done. remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (6/6), done. $ cd InstaTrack $ python InstaTracker.py Traceback (most recent call last): File "InstaTracker.py", line 11, in import requests ModuleNotFoundError: No module named 'requests' $

On Tue, Oct 8, 2019, 1:57 AM Hamed notifications@github.com wrote:

SNbig, thank you for this script. I am new to Python and am trying to run this script on Qpython3 APK on a rooted Android device (Android 9.0). I cannot for the life of me figure out how to run it on the built-in terminal. I've read and googled for hours and can't seem to figure it out, is it even possible to run your script on an Android device? Thanks!

Look at the wiki : https://github.com/Snbig/InstaTrack/wiki/Using-InstaTrack-on-Android-with-Termux#how-to-use

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Snbig/InstaTrack/issues/5?email_source=notifications&email_token=ANNJCRCIWOFJXEKETTGTBB3QNQOMVA5CNFSM4H4EGM22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAS4TYI#issuecomment-539347425, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNJCRGVTPR4O3734E75NJTQNQOMVANCNFSM4H4EGM2Q .

Pain-N-Panic commented 4 years ago

You can disregard, I forgot I had to install the pup requests. I got it working. Thank you very much!

On Tue, Oct 8, 2019, 1:57 AM Hamed notifications@github.com wrote:

SNbig, thank you for this script. I am new to Python and am trying to run this script on Qpython3 APK on a rooted Android device (Android 9.0). I cannot for the life of me figure out how to run it on the built-in terminal. I've read and googled for hours and can't seem to figure it out, is it even possible to run your script on an Android device? Thanks!

Look at the wiki : https://github.com/Snbig/InstaTrack/wiki/Using-InstaTrack-on-Android-with-Termux#how-to-use

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Snbig/InstaTrack/issues/5?email_source=notifications&email_token=ANNJCRCIWOFJXEKETTGTBB3QNQOMVA5CNFSM4H4EGM22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAS4TYI#issuecomment-539347425, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNJCRGVTPR4O3734E75NJTQNQOMVANCNFSM4H4EGM2Q .