Skip to content

Commit

Permalink
getPaginateFollowing pagination fix (#792)
Browse files Browse the repository at this point in the history
The $endCursor inside getPaginateFollowing() line no: 1460 was empty changed to $nextPage
  • Loading branch information
jeybin authored Oct 21, 2020
1 parent 71b8500 commit cd9e475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InstagramScraper/Instagram.php
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ public function getPaginateFollowing($accountId, $count = 20, $pageSize = 20, $d

$index = 0;
$accounts = [];
$endCursor = '';
$endCursor = $nextPage;
$lastPagingInfo = [];

if ($count < $pageSize) {
Expand Down

0 comments on commit cd9e475

Please sign in to comment.