Continuing along the lines of using social media as a medium, I’ve been playing around with facebook’s API recently and wanted to “Like” things. I couldn’t find how to do it (more on that later) so I started to play with client side ways to do it. You know, because sometimes you’re just way pumped and just want to “Like” everything.
Here is a script that collects all of the “Like” buttons for comments and items currently loaded in the browser and clicks them.
I used it a couple times and I got this message:
So it’s probably best to include some time delay. I’m not really sure what the acceptable rate of liking is though. Basically if you use it for say <50 things in a second its fine. I did this a lot while writing and testing it. It's when I scrolled down to load a ton of stuff- and then used it- that I got the message. I'd test it again, but I'd rather not have the power to 'like' revoked. If you figure this out, do share!
Also, it turns out you can Like things with the Facebook API. You just find the ID of the item, and then send a POST request to https://graph.facebook.com/ID/likes.
This requires extended permissions to publish actions.