I can get the posts I need from a Facebook Page using this code in PHP:
$token = "ACCESS_TOKEN";
$data = file_get_contents("https://graph.facebook.com/PAGE_ID/feed?access_token=".$token);
$data = json_decode($data, true);
However, the access token it just last 1 hour. I saw that it's possible to request a long live token that lasts 60 days, but stills not so clear for me with a good example.
Do you guys know a good example using PHP? Thank you in advance!