I have a fielded FB application which uses the JS login button workflow (“fb:login-button”). Users of my FB application are receiving the following error which breaks login:
SCRIPT5007: Unable to get value of the property 'access_token': object is null or undefined.
This error occurs after the pop-up appears and they enter their credentials.
I am not aware of changing any authentication-related code on my end. Has something changed in the FB response token?
Thanks,
Shaun
The async function,
FB.getLoginStatus, returnsresponse.session.access_token.Throughout the day the response object changed to
response.authResponse.accessToken. This seemingly random change in the response object from Facebook caused the application to fail. At around 5PM CST the signature changed back toresponse.session.access_token. As of 11:45 PM CST the signature isresponse.authResponse.accessToken.