I have a strong problem with the Facebook PHP SDK. Here it is.
1) On my personal server this works fine:
$me = $facebook->getSignedRequest();
print_r($me);
$user = $facebook->api('/me');
print_r($user);
while on another remote server (a Windows one btw) it doesn’t.
If if comment the 2 last lines, it does, but the $facebook->api call breaks my script and I get a blank page.
2) This bug seems CURL related since at some point I got this screenshot : http://www.thomasaussenac.com/harleytest/screenshot.png
Anyway, I really can’t get a way to solve it!
I still have the same error and sometimes I get such a message on a blank page :
Could not set cookie. Headers already sent.
Invalid or no certificate authority found, using bundled information
But the fb_ca_chain_bundle.crt should be fine…
I don’t understand at all, really…
Answer: I was using a server Windows without Apache.