DEV Community

This Post has 100 Positive Reactions

Sahil Bondre on April 08, 2020

The script mentioned in the following blog post has been turned off now. So the script doesn't know when someone gave a positive reaction. But, I ...
Collapse
 
itsjzt profile image
Saurabh Sharma

Well done 👍

Collapse
 
itsjzt profile image
Saurabh Sharma • Edited

Is the like reaction also automated?

Collapse
 
godcrampy profile image
Sahil Bondre

Nah It's was me 😅

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Does not real time update on mobile app.

Collapse
 
godcrampy profile image
Sahil Bondre

Try reloading after you react to the post.

Collapse
 
mohammedasker profile image
Mohammed Asker

Hey, this is so cool! Before it was 29 and after I liked the posts, it updated itself.

Collapse
 
terkwood profile image
Felix Terkhorn

Pretty quick to update!

Collapse
 
terkwood profile image
Felix Terkhorn

And I like how concise your code is. Thanks!

Collapse
 
robole profile image
Rob OLeary

Nice job! Are you running it as a cron job on your local machine?

Collapse
 
godcrampy profile image
Sahil Bondre

yup it's a cron job running on my local machine. Here's the code. I've stopped it now so it won't update anymore.

Collapse
 
harryammon profile image
Harry Ammon

Very cool, didn't know dev.to had an API. My favourite part of Toms' Video is the end line, "the code was never the important part"

Collapse
 
godcrampy profile image
Sahil Bondre

I stumbled upon the dev.to beta API the other day. Luckily I ended up watching the Tom's video later on. Tom's videos are always great to watch!
What's your favorite programming language? 😄