diff --git a/app/Console/Commands/InstagramScrape.php b/app/Console/Commands/InstagramScrape.php index 0f779f8..0e9849d 100644 --- a/app/Console/Commands/InstagramScrape.php +++ b/app/Console/Commands/InstagramScrape.php @@ -50,10 +50,11 @@ class InstagramScrape extends Command // // $userList = ['1992.ai_']; // print_r($userList);exit; $ins = new InstagramService(); +// $ins->getUserNameById('4156629214');exit; $ins->scrapeUsers($start); $ins->scrapeLikedUsers(); $ins->scrapeCollection();exit; -// $ins->getUserNameById(); + $ins->getUserNameById(13049295449); // $ins->queryFollowUsers(); // $ins->commonRequest(); $ins24 = new Ins24Service(); diff --git a/app/Services/InstagramService.php b/app/Services/InstagramService.php index 377121c..d62b1d3 100644 --- a/app/Services/InstagramService.php +++ b/app/Services/InstagramService.php @@ -308,7 +308,7 @@ class InstagramService try { $userList = file("/Users/shixuesen/OneDrive/Pictures/instagram/user.txt"); - $userList = array_slice($userList, $start, 65); + $userList = array_slice($userList, $start, 50); // $userList = ['1992.ai_']; // print_r($userList);exit; // print_r($userList); @@ -577,7 +577,7 @@ class InstagramService exit(0); } - dump($ig->people->getInfoById('17865689564'));exit; + dump($ig->people->getInfoById($id));exit; $response = $ig->user->getUserFeed('6794713533', null); // $response = $ig->story->getUserReelMediaFeed('12801506409'); dump($response);exit;