Reputation: 207
I'm Trying to Give user All media from instagram with this code in Guzzle:
$res = $client->request('GET',
'https://api.instagram.com/v1/users/self/media/recent/?access_token='.
$access_token);
But Instagram send me just 20 media.How I can fix it?
Upvotes: 1
Views: 179
Reputation: 3782
See this link to solve your problem:
Instagram API: How to get all user media?
You have to use pagination, getting 20 objects per time.
Upvotes: 1