The only bid that might help you in this context would be to go to the Facebook Developers and learn their API.
https://developers.facebook.com/?ref=pf[
^]
You can learn how you can write the script to get posts from Facebook page from there and they'll provide you with an already-set SDK too. You can use their SDK if you're building app for iOS, Android, Windows etc. They'll get you started!
You can also read their API guide to do stuff that they haven't shared but is doable.