Redirecting to authentication dialog - “An error occurred. Please try again later”

前端 未结 30 2005
执念已碎
执念已碎 2020-11-29 04:08

Why does it always happen to me?

This happens after my application verify for user user login and redirect user to the authentication page:

https://w

30条回答
  •  悲&欢浪女
    2020-11-29 04:28

    I had the same problem; it turned out FB requires a string appID and not an int...

    //DOESNT WORK:
    $facebook = new Facebook(array(
      'appId'  => 147XXXXXXXXXXX,
      'secret' => 'XXXXXXXXXXXXXX',
    ));
    
    // WORKS:
    $facebook = new Facebook(array(
      'appId'  => '147XXXXXXXXXXX',
      'secret' => 'XXXXXXXXXXXXXX',
    ));
    

提交回复
热议问题