I will start this question by mentioning that this is my first experience with Facebook’s API.
I have a script on my own PC, which is executed with WAMP. It fetches data from Facebook’s Graph API, when given manually an access token from Graph API Explorer, getting a specific group’s feed.
I would like my script to ask for an access token, and then just use
file_get_contents to ask for the json string. I need the access token to have all the permissions available.
What should I do to make the next steps work?
- Open my PHP file. (already exists)
- The script will ask for an access token.
- It will print the content of