Fatal error: Uncaught Facebook\Exceptions\FacebookSDKException: Cross-site request forgery validation failed. Required GET param "state" missing. 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();
}