Skip to content Skip to sidebar Skip to footer

Facebook Php Sdk V4.0 Facebookjavascriptloginhelper Return State Null

Im working on my localhost, using FB PHP SDK 4.0. I was able to complete the login using JS SDK, now Im trying to access some info via PHP SDK. On each page I add this js and php

Solution 1:

It's working when I tested on Firefox. This is actually an issue with Chrome: Google Chrome does not support cookies for local files (including localhost) unless you start it with the --enable-file-cookies flag. Chrome does, however, support cookies if you use your local IP address—127.0.0.1— for testing.

See https://stackoverflow.com/a/10081969/1158909

Post a Comment for "Facebook Php Sdk V4.0 Facebookjavascriptloginhelper Return State Null"