You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
usernameToUserId() receives JSON from Instagram where the first result doesn't match the username being sought, and because the function only checks the first index for the right user, you're getting the 'does not exist' result being returned.
Instagram could be returning the results in this order because the profiles that are being returned in higher order have paid to make themselves the highest priority result...?
A fix for Instatrack might be that the results being returned are iterated through until the right username is found, such as in the sample code below.
The text was updated successfully, but these errors were encountered: