Logout no longer working in Flask example
Since the update of FB sdk 2.7, /logout no longer logs out. There is a console error message "Uncaught TypeError: Cannot read property 'accessToken' of null all.js:88"
Can you let us know if changing js.src in base.html from //connect.facebook.net/en_US/all.js to //connect.facebook.net/en_US/sdk.js helps?
http://stackoverflow.com/q/38462764/113527 suggests that all of our examples and documentation should be using sdk.js, but it would be useful to know if additional changes are needed.
Thanks. I did try both and the same problem was happening. It won't completely logout and it won't redirect to the login screen. Manually clearing the cookie seems to fix it temporarily and then it happens again. I checked all the code
Looking at the index.html template in the Flask example, I think it is possible that this is a bug in //connect.facebook.net/en_US/all.js.
@jndoy, can you confirm that this is still happening?
I'm now using https://connect.facebook.net/en_US/sdk.js and it is now working fine. Thank you