An Parliament member in Israel has just removed an embarrassing FB post (you really don't want to know).
I've tossed a little Python+Selenium script based on this SO answer:
from selenium import webdriver
from PIL import Image
import datetime
filename = "miri_regev_"+datetime.datetime.now().strftime("%Y.%m.%d.%H:%M:%S")+".png"
fox = webdriver.Firefox()
fox.get('https://www.facebook.com/miri.regev.il')
fox.save_screenshot(filename) # saves screenshot of entire page
fox.quit()
However, running this script periodically is a waste of time and space. I would like to run it only when the FB publishes a new post or updates an existing one.
Is there a way to use FB Graph API to query for new posts on a public page?