Skip to content

Commit cd9e475

Browse files
authored
getPaginateFollowing pagination fix (#792)
The $endCursor inside getPaginateFollowing() line no: 1460 was empty changed to $nextPage
1 parent 71b8500 commit cd9e475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InstagramScraper/Instagram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ public function getPaginateFollowing($accountId, $count = 20, $pageSize = 20, $d
14571457

14581458
$index = 0;
14591459
$accounts = [];
1460-
$endCursor = '';
1460+
$endCursor = $nextPage;
14611461
$lastPagingInfo = [];
14621462

14631463
if ($count < $pageSize) {

0 commit comments

Comments
 (0)