From what I understand if I need to make request to facebook API I need to pass access token with it.
However, I just had a look at the Facebook official example – they did not provide include access token to make request?
$user_profile = $facebook->api('/me');
Where and When do I need to use access token for?
The example you’ve provided is using the PHP-SDK. It automatically appends an
access_tokenas required.You only need to worry about tokens in the context of permissions, depending on what you’re doing. The docs will let you know if/when you need a permission/token an example is the user doc. You don’t need permission to access the first 7 fields, but in order to see what
languagesthe user has listed, you would need to request theuser_likespermission.If you’re making cURL calls directly to graph, then you’ll need to remember to append tokens to the URL.