Comments for Joel Dare https://blog.joeldare.com Technology and other hobbies Wed, 29 Apr 2020 06:54:18 +0000 hourly 1 https://wordpress.org/?v=5.4.10 Comment on Simple Instagram Like Bot by M https://blog.joeldare.com/simple-instagram-like-bot/#comment-144 Wed, 29 Apr 2020 06:54:18 +0000 https://blog.joeldare.com/?p=86#comment-144 You’re my hero! Works like a charm! Thanks so much.
It is really just those two lines that have to be changed. And when copy-pasting, I had to make sure that the ” sign was properly displayed.

]]>
Comment on Simple Instagram Like Bot by Joel https://blog.joeldare.com/simple-instagram-like-bot/#comment-140 Fri, 17 Apr 2020 19:25:38 +0000 https://blog.joeldare.com/?p=86#comment-140 In reply to Big.

Nice find! I haven’t been able to spend the time to find the updated selector; looks like you found it. I’ll give this a try a little later and update my code if I find it to work. In the meantime your comment is live on the page so others can find it.

]]>
Comment on Simple Instagram Like Bot by Big https://blog.joeldare.com/simple-instagram-like-bot/#comment-139 Mon, 13 Apr 2020 02:59:38 +0000 https://blog.joeldare.com/?p=86#comment-139 Hi, thanks for your script!

I inserted the following code from https://dev.to/danijelajs/javascript-instagram-bot-3nmk into your script to identify the “like” option in the current version of Insta:

var likeElement = document.querySelector(‘article > div.eo2As > section.ltpMr.Slqrh > span.fr66n > button’);

As for the “Like status”, I used the following: likeElement.innerHTML.match(“#ed4956”) == null

That worked for me!

]]>
Comment on How I Implemented Comments on a Static Site by davidak https://blog.joeldare.com/how-i-implemented-comments-on-a-static-site/#comment-138 Thu, 29 Aug 2019 19:33:31 +0000 https://blog.joeldare.com/?p=34#comment-138 That’s an elegant solution, but also very simple and limited. You can’t have features like editing comments after they are sent, up/down voting, reply/threads, e-mail notification about replys…

But i like that the comments are part of the page source and HTML, so they are archived together with the content. So our culture is not lost 10 years from now. (I actually blogged 10 years ago and most of the blogs from then are lost)

Do you have ideas to extend this MVP to add all the features Commento has but keep the simple design, so the data is part of the website? It’s crazy to host PostgreSQL just to get 100 comments a year…

]]>
Comment on Simple Instagram Like Bot by Chief https://blog.joeldare.com/simple-instagram-like-bot/#comment-129 Fri, 29 Mar 2019 19:24:47 +0000 https://blog.joeldare.com/?p=86#comment-129 In reply to Jim.

It looks like the LikeElement is no longer a function, so the script isn’t working anymore. Returns “LikeElement is null” every time. An update would be amazing.

]]>
Comment on Simple Instagram Like Bot by Jim https://blog.joeldare.com/simple-instagram-like-bot/#comment-121 Mon, 25 Mar 2019 11:28:18 +0000 https://blog.joeldare.com/?p=86#comment-121 Has something on Instagram changed recently? Doesn’t seem like it works anymore?

]]>
Comment on Simple Instagram Like Bot by Christian https://blog.joeldare.com/simple-instagram-like-bot/#comment-117 Sat, 23 Mar 2019 16:30:24 +0000 https://blog.joeldare.com/?p=86#comment-117 Hi!

Instagram seems to have changed things up again, and I cant get the code to work. Any suggestions?

Sincerely, Christian.

]]>
Comment on Simple Instagram Like Bot by Jonatan https://blog.joeldare.com/simple-instagram-like-bot/#comment-113 Tue, 18 Dec 2018 15:13:57 +0000 https://blog.joeldare.com/?p=86#comment-113 In reply to Joel.

How would I make this random as well?

]]>
Comment on Simple Instagram Like Bot by Joel https://blog.joeldare.com/simple-instagram-like-bot/#comment-110 Thu, 06 Dec 2018 16:16:51 +0000 https://blog.joeldare.com/?p=86#comment-110 In reply to Raphael.

If you have already liked a particular post it will skip it.

]]>
Comment on Simple Instagram Like Bot by Joel https://blog.joeldare.com/simple-instagram-like-bot/#comment-109 Thu, 06 Dec 2018 16:16:08 +0000 https://blog.joeldare.com/?p=86#comment-109 In reply to Raphael.

Yup, that’s the idea.

]]>