Let’s see how the script is doing the tasks and what it has done with your Facebook account.
First, as you run the script it takes login cookie of your Facebook account (till the cookie expires anyone can operate your account). Then using the cookie the spamming site likes some abusive pages from your account. You can go to your profile page and see likes from left panel. Unlike any page if you didn’t join it yourself.
Secondly, the script posts the message to some of your friends’ wall. Aware them not to use the script. Delete your wall post from their wall.
Change your password as cookies may be grabbed by the spammer. He may operate your account later on if you don’t change password.
How to stop the viral spam going on:
No one has control on the spam going on, all you can do is aware your friends and they will aware their friends. You can share this article with your friends to aware them.(click here or share button from below). It will help me too getting strong against spam going on. Tell everyone who run the script and got hacked.
Happy safe facebooking. You can subscribe me for more such security updates, Be secure.