そこで、facebook api を介して自分のウェブサイトに facebook ログイン機能をインストールしました。正常に動作しますが、facebook のログアウト ボタンでログアウトした後、以下のエラー メッセージが表示されます。まだアクティブですが、良いセッション関数を使用したことはありません。代わりに getUser() メソッドを使用しました
FacebookApiException Object
(
[result:protected] => Array
(
[error] => Array
(
[message] => Error validating access token: The session is invalid because the user logged out.
[type] => OAuthException
[code] => 190
[error_subcode] => 467
)
)
[message:protected] => Error validating access token: The session is invalid because the user logged out.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home/content/72/9959172/html/madscore/facebook/facebook-sdk/src/base_facebook.php
[line:protected] => 1238
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/content/72/9959172/html/madscore/facebook/facebook-sdk/src/base_facebook.php
[line] => 870
[function] => throwAPIException
[class] => BaseFacebook
[type] => ->
[args] => Array
(
[0] => Array
(
[error] => Array
(
[message] => Error validating access token: The session is invalid because the user logged out.
[type] => OAuthException
[code] => 190
[error_subcode] => 467
)
)
)
)
[1] => Array
(
[function] => _graph
[class] => BaseFacebook
[type] => ->
[args] => Array
(
[0] => /me
)
)
[2] => Array
(
[file] => /home/content/72/9959172/html/madscore/facebook/facebook-sdk/src/base_facebook.php
[line] => 644
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => Facebook Object
(
[sharedSessionID:protected] =>
[appId:protected] => 314286708589099
[appSecret:protected] => 8f803e0f9e9da4f2ba9f23ad3bd00ded
[user:protected] =>
[signedRequest:protected] =>
[state:protected] =>
[accessToken:protected] =>
[fileUploadSupport:protected] =>
[trustForwarded:protected] =>
)
[1] => _graph
)
[1] => Array
(
[0] => /me
)
)
)
[3] => Array
(
[file] => /home/content/72/9959172/html/madscore/authentication.php
[line] => 34
[function] => api
[class] => BaseFacebook
[type] => ->
[args] => Array
(
[0] => /me
)
)
[4] => Array
(
[file] => /home/content/72/9959172/html/madscore/auth_output.php
[line] => 2
[args] => Array
(
[0] => /home/content/72/9959172/html/madscore/authentication.php
)
[function] => include_once
)
)
[previous:Exception:private] =>
)