Open nizarnizario3 opened 8 years ago
Same question here...
@hahatey Maybe in the future. Make an issue and we will look into it :)
Thanks @Bolandish, I'll append my question under this existing issue .
$media = json_decode(static::getContentsFromUrl($parameters), ($assoc || $assoc == "array"));
stdClass Object
(
[status] => ok
[media] => stdClass Object
(
[count] => 13354692
[page_info] => stdClass Object
(
[has_previous_page] =>
[start_cursor] => 1391052535586251220
[end_cursor] => J0HWDe3RgAAAF0HWDe2XwAAAFiAA
[has_next_page] => 1
)
[nodes] => Array(
...... ......... ........
)
)
is there sth like "next_url" returned for "load more" features ? like using "max_id" (query for a big $count number might be heavy and takes longer time to response and render the page.)
Noticed that author mentioned the
https://www.instagram.com/explore/tags/[HASHTAG]/?__a=1
actually still working after instagram endpoint update.
with that api, we can append the
&max_id = [end_cursor] value
// in the above example end_cursor=J0HWDe3RgAAAF0HWDe2XwAAAFiAA
https://www.instagram.com/explore/tags/[HASHTAG]/?__a=1&max_id=J0HWDe3RgAAAF0HWDe2XwAAAFiAA
to get next page of #hastag media ? and grab the next &max_id untill has_next_page=0
but, sad, still limited info returned with this call such as there's no video_url ;
can framework api which call https://www.instagram.com/query/?q=$parameters support the above load more feature as well in future ? thanks.
Hi, Thanks for this great project, it helped me ALOT! saving my time in APIs and getting reviewed... I have a question , can i grab all the postings of a user? or some kind of pagination? thanks :)