FacebookSDKException: Cross-site request forgery validation failed code example
Example: Cross-site request forgery validation failed. Required param "state" missing from persistent data
//At the top of both scripts (Facebook and login_page.php) add the follow:
if(!session_id()) {
session_start();
}