Skip to content

Instantly share code, notes, and snippets.

@kevincobain2000
Last active August 29, 2015 14:05
Show Gist options
  • Save kevincobain2000/42f1102ebfdceabcca28 to your computer and use it in GitHub Desktop.
Save kevincobain2000/42f1102ebfdceabcca28 to your computer and use it in GitHub Desktop.
Instagram likes and comments semi bot
  1. Open Chrome
  2. Go there -> http://websta.me/tag/cat
  3. Open Console (CMD+j)
  4. Paste the code and hit enter
  5. Repeat 2-5 for desired hashtags i.e s/cat/yourhashtag
// Click the like button, Note that instagram has limited the number of likes
// As far as I can tell more than 70 likes within one minute and you have to wait for another hour
$(".likeButton").each(function(index) {
    // Don't unlike the photo thats why the following
    if (!$(this).hasClass('done')) {
        $(this).click();
    }
});


lame_comments = ["great", "awesome", "loved this pic", "man this is great, how you did it", "beautiful, so great you captured it", "subarashii", "iine", "you are awesome", "will love to see more or your pics", "great work"];

// Fill in a random comment and click it
$("textarea").each(function(index) {
    $(this).val(lame_comments[Math.floor(Math.random() * lame_comments.length)]);
});
$("input[value='COMMENT']").click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment