I've download the Facebook PHP SDK and got that up. I'm using the third example on this page (ie. the PHP example below the illustration).
All works well for logging in. Perfect. But when I logout, I get various errors. The most frequent one being:
Unknown algorithm. Expected HMAC-SHA256
Which in turn causes a Javascript error so the page fails miserably.
I would post my code, but it's literally the example code with my own APP_ID and APP_SECRET details. I'm completely stumped, and have been for a full day now. I can only assume their example doesn't work because it's a cut and paste job that works up till logout.
The other common problem is that after logging out, Facebook still returns the user's details so my app will think we're logged in.
Essentially $facebook->getLogoutUrl() is screwed, at least pour moi.
If anyone could piece together a working version of the example, I would be (almost) eternally grateful.
Help
















