0
facebook api를 사용하는 동안이 오류가 발생하지만 print_r 개체를 얻을 때 얻은 결과는 다음과 같습니다.잡히지 않은 OAuthException : 액티브 액세스 토큰이 사용되어야합니다 ... 액세스 토큰이 발견 되더라도 반환됩니다.
Facebook Object
(
[facebook] => Facebook Object
(
[sharedSessionID:protected] =>
[appId:protected] => APP_ID
[appSecret:protected] => APP_SECRET
[user:protected] => 0
[signedRequest:protected] =>
[state:protected] =>
[accessToken:protected] => ACCESS_TOKEN
[fileUploadSupport:protected] =>
[trustForwarded:protected] =>
)
[fb_perms] => Array
(
[scope] => publish_actions,
read_friendlists,
user_birthday,
email,
ads_management
)
[fb_user] => 0
[fb_user_profile] =>
)
<br />
<b>Fatal error</b>: Uncaught OAuthException: An active access token must be used to query information about the current user.
thrown in <b>base_facebook.php</b> on line <b>1271</b><br />
상단 부분에 액세스 토큰이 있다고 나와 있습니다. 어떻게 사용하지 않을 수 있습니까?