https://en.wikipedia.org/wiki/Web_scraping
Facebook does not like their pages to be scraped. So I was a bit surprised by you title.
But actually you are using the Graph API as intended to collect posts. Nothing wrong with that, but nothing unusual either.