Fatal error with FB.init: Uncaught OAuthException: Error validating access token-Collection of common programming errors
I have added like button to my application page:
window.fbAsyncInit = function() {
FB.init({appId: 'xxxxx', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
With first reaload every thing is ok. After 2-3 page reload I have this error:
Uncaught OAuthException: Error validating access token. thrown
What is wrong with this? I have searched in stackoverflow but couldnot find any result. (only one)