javascript - Logout of Facebook Programatically -
in app users can register/login using oauth2 via facebook , google. when user logs out, give them option logout of oauth provider (e.g. in case they're on public computer).
in case of google following javascript
var img = new image(); img.src = 'https://accounts.google.com/logout';
is there equivalent solution facebook? i've seen this suggestion, ideally i'm looking client-side solution not require knowledge of access token (which keep on server-side).
i'd prefer not have include facebook sdk if possible.