You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you sure you are using this facebook-node-sdk (npm install fb)? There is no params.access_token != options('accessToken') comparison at all in our code.
It works fine using the example you provided. The error was occurring when I was using FB.setAccessToken('access_token'); ... it would never let me reset it to anything else once set.
The code I sent is not present in the code, it's a replacement I think it would solve the problem I found.
Running something where I need to change the access token on the fly, but they way the code is, once it's set, it never looks for it again to change.
Something like this should do the trick
if(options('accessToken') && params.access_token != options('accessToken')) {
...etc
The text was updated successfully, but these errors were encountered: