Posts tagged facebook

How to get an access token to access Facebook open graph

If you want to develop something for or with Facebook, you always need an access_token. Facebook provides different access tokens, most of them are received using OAuth. But for command line tools and development there is another way to receive the tokens.

For our example we have a hidden Facebook page. We want to retrieve photos of this page through a PHP command line tool. Therefore we create an app at https://developers.facebook.com/ .

../../_images/GraphAPIExplorer.png

Read more ...