On facebook we have thousands of friend. On your birthday they wish you on your wall then you see thousands of wall post waiting for your reply.
Using this code you can reply them and like their posts on your wall in just one go.
By the way, it is not that you only can use it on your birthday, actually it comments and likes your wall post.
So if you execute it on the right time.
Here is one execution on my computer ::
$ python bdthankall.py
How many post I have to like? 50
Any message to your friends? Hello world! Python is awesome!
localhost - - [16/Sep/2013 12:50:51] "GET / HTTP/1.1" 200 -
localhost - - [16/Sep/2013 12:50:51] "GET /favicon.ico HTTP/1.1" 200 -
localhost - - [16/Sep/2013 12:50:51] "GET /?
access_token=***********************************&expires_in=5949 HTTP/1.1" 200 -
Comment id: *********
$ Liked
Comment id: *********
$ Liked
All done!
I should mention one thing when you run the code, your default browser window may be open for your permission or it can ask for your facebook credential, just grant all then it can access your profile. :)