Taken from an older stack overflow question (sorry for not posting link but stack overflow says that i must have more than 10 rep for more than 2 links) to generate Instagram access tokens so they will be out of sandbox mode. So finishing with the above, i have the following two queries:
https://api.instagram.com/v1/tags/' . 'wordcamp' . '/media/recent?client_id=' . 'one_id' . '&access_token='. $accessToken . '&count=' . $count
https://api.instagram.com/v1/users/search?q='John'&access_token=$accessToken&count=$count
Why in the second link i do not have the pagination option?
Instagram API never had pagination for user search API, the response has a limited set of user search results, about 50 or so. pagination is just not supported for this endpoint