dfreelon / fb_scrape_public

Scrapes posts and comments from public Facebook pages.
BSD 3-Clause "New" or "Revised" License
106 stars 52 forks source link

Do you think it could work with a search function? #1

Closed peeter-t2 closed 7 years ago

peeter-t2 commented 7 years ago

E.g. getting only results matching the term on a page: https://www.facebook.com/search/str/politics/keywords_search?filters_rp_author=134486075205 or https://www.facebook.com/search/str/search%2Bterm/keywords_search?filters_rp_author=public-feed

Thanks for sharing the app! :)

dfreelon commented 7 years ago

As far as I know, Facebook disabled keyword searching through its API awhile back. If anyone knows differently, point me to the documentation and I'll add it to the script. /DEEN

peeter-t2 commented 7 years ago

Unfortunately no, I don't think there's a good way to get to it from the graph API. Good luck with other things!