<?php require 'config.php'; use MetzWeb\Instagram\Instagram; $debug = true; $targetUser = 180991007; // therealmckee $targetUser = 635143849; // aspen_hourglass copy_followers($instagram, $instagramUserID, $debug, $targetUser, $date, $email, $debugEmails, $name);
} else { $cursorTarget = $cursorTarget_post; } if ($debug) { echo "twit_user: {$twitterUser}<br>"; echo "cursorTarget: {$cursorTarget}<br>"; echo "myScreenName: {$myScreenName}<br>"; } } $canFollow = follow_check($connection, $debug, $twitterUser, $cursorTarget); if ($debug) { echo "canFollow: {$canFollow}<br>"; } if ($canFollow) { loading_gif(); $cursorTarget = copy_followers($connection, $db, $myScreenName, $count, $targetCount, $debug, $cursorTarget, $twitterUser, $date, $email, $debugEmails, $name); if ($debug) { echo "<h1>Next Cursor: {$cursorTarget}</h1>"; } ?> <form class="next_cursor" method="POST" > <input type="hidden" name="cursorTarget_post" value="<?php echo $cursorTarget; ?> " /> <input type="hidden" name="twitterUser_post" value="<?php echo $twitterUser; ?> "/> <button type="submit" name="submitTargetAccount">Follow More</button> </form>