Here is snippet that allowed me to log out programmatically from facebook. sure the user can not access the page after he/she is logged out // clear the activity .