I am trying to log out from facebook, not only loggin out form my app also from facebook too. I am using the Graph API Desktop version and i am coding with flex.
Is there a way to log the user out from app and facebook??? I think that maybe usign the javaScript method FB.logout() i could do it, but i dont know the correct way to do this.
I mean, i try:
ExternalInterface.call(“FB.logout()”);
but it throws an error saying that externalInterface is no available in this container…
Thanks in advance!!!
make sure that
allowScriptAccessis set in the html. if you’re using swfobject, you can set it via theparamsobject. if you’re using a plainobjecttag, set it as a nestedparamelement, i.e.:also,
ExternalInterfacebuilds the function call automatically, so you’ll need to remove the invocation paranthesis(), i.e.hope that helps! cheers.