w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Limit Instagram php feed

You can specify the number of images to return using the COUNT parameter. Try this:

$result =
fetchData("https://api.instagram.com/v1/users/ID-GOES-HERE/media/recent/?access_token=TOKEN-GOES-HERE&count=6");

If you are looking to retrieve a greater number of records and page through them on your side, check out the min_id and max_id for paging.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.