Instagram-PHP-API
Instagram-PHP-API copied to clipboard
Pagination fixed and a better limit parameter handling.
The pagination is fixed. There were issues because of different naming of the JSON-properties.
Due the need of using additional parameters on several functions the "_setLimit" helperfunction was introduces. Less redundant code makes also the maintenance easier.
Thank you @coreequip for this update. The pagination works with the given example in the readme however we can not get more than 33 pictures.
Also, with $instagram->searchMedia it doesn't work at all "Undefined property: stdClass::$pagination".
Any idea?
Thanks in advance.
You talking about this endpoint? This function doesn't support pagination. So here is the fix for Instagram-PHP-API.
Yes i was talking about this one but also about GET/tags/tag-name/media/recent.