Skip to content

Instantly share code, notes, and snippets.

@lihararora
lihararora / fb_thanks.py
Last active September 13, 2015 18:23
A python script to post a generic comment on multiple posts on your Facebook timeline. A simple use case: Say thanks to all your well wishers by posting a Thank You comment on all your wall posts created after a specific time. Example: python fb_thanks.py <unix_timestamp> "Thanks you! :)" <fb_user_access_token>.
'''
@author: Rahil Arora
@email: contact@rahilarora.com
'''
import argparse
import urllib2
import urllib
import json

Keybase proof

I hereby claim:

  • I am lihararora on github.
  • I am lihararora (https://keybase.io/lihararora) on keybase.
  • I have a public key whose fingerprint is 32E0 EA46 E890 60EC AD05 041F 3C59 C8D9 E88E FFDE

To claim this, I am signing this object: