I have a windows application that uses Instagram API. The user is not authenticated in it, he just enters his username, and my application makes a request for a public /users/searchmethod to get the user ID.
Now I have the following problem:
When I request the Instagram API with a short username (e.g. ffff), it returns a list of users found. However, this list does not contain a user with this exact username.
For example, Instagram has a user ffff. It really exists ( link to its page ).
When I execute the API method /users/searchwith the request ffff, I get many users who have ffff as part of their username ; or as part of their full name ; but definitely not a user having exactly the same username .
Here is an example API request that returns a list of users. However, as a result, there is no user with the user name ffff, although it would be quite logical to return it. Moreover, I would expect to see it as the first element in the array , so that I can make a request &count=1and make sure that it will be found, instead of getting 100 users and filtering them. This is not a security issue or anything else - for some reason their search engine guesses that these users are more interesting to me.
I'm just wondering how such a popular social network can have such a bad API - now it seems like I just canโt work with users who have too simple, wide or popular usernames.
, , - - , API . " ", API. ?
, , , . , .