Getting an access token for a local Facebook script

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?

  1. Open my PHP file. (already exists)
  2. The script will ask for an access token.
  3. It will print the content of

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.