Hello! I have tried, for the past few days, tried to figure out how in the fifth non-newtonian dimension I am supposed to get the last n public posts from a facebook page via the facebook graph PHP SDK. I have stumbled to many corners of the SDK, and found out I need to make a FacebookRequest object that I then execute. But the object requires an Access Token... Which is where I stopped. The documentation... Doesn't mention which one, or where to get it. Is it a user access token, meaning someone has to log in into that automated app, or can I somehow get one programmatically, as I want to only read the publicly available posts of a webpage? And if so... Could you please point me to the relevant page in the documentation please? Thank you very much One nervous programmer.
API doesn't mean that you all of a sudden will have access to everything. Of course you'll need permission (access token) from the page owner whose page you want to scrape.
Of course, though, considering that I may as well see the page's posts without ever logging into facebook, a bot might do that too, but oh well. Any clues of how to do that, if I am a page owner then?
Actually .. I guess I was wrong. Happens. https://hackernoon.com/graphapi-get...l-example-access-token-auth-post-d7403c717fbf should give you some hints. Token is your app token, not pages/owners generated token, which means .. read through and search further from there if you still can't get it running.