In case anyone stumbles on this in the future.
Change
$accessToken = $helper->getAccessToken();
to
$accessToken = $helper->getAccessToken('https://domain.com/CallbackPage.php');
Afternoon!
I've got one of my sites setup to authenticate with facebook graph php.
When using FPM served by Nginx, I have no issues at all.
however when I'm using FastCGI or FPM served by Apache I get an error displayed. I want to use Apache for mod_pagespeed.
Graph returned an error: Can't...