Im trying to check if user accepted my app on wordpress, and is working in default wordpress links like:
example.com/?p=15
but not in seo urls like:
example.com/postname
Im using:
$user = $facebook->getUser();
if ($user) {........
but seems with wordpress permalinks it cant check the state of user, any idea?
Thanks
First check if all urls generated by your wordpress is under app canvas url.
Then check if you’re initiating $facebook variable as an instance of facebook library, like following: