I found (simple) solution: the error is in the SIDEBAR BUTTON LOGOUT, not in BP-Facebook connect plugin.
You have to change logout link in the sidebar.php (wp-content/plugins/buddypress/bp-themes/bp-default/sidebar.php) and eliminate this part “&redirect_to=http%3A%2F%2Fexample.com&_wpnonce=defgsbc7a3b”.
So It’s very simple to correct bug.
In the orginal sidebar.php there is :
<div id="sidebar-me">
<a href="<?php echo bp_loggedin_user_domain() ?>">
<?php bp_loggedin_user_avatar( 'type=thumb&width=40&height=40' ) ?>
</a>
<h4><?php bp_loggedinuser_link() ?></h4>
<a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a>
<?php do_action( 'bp_sidebar_me' ) ?>
</div>
So you have to change href value of
<a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a>
.
Unluckily I have not found a working general hook to generate automatically logout (working) link, but some time ago I have seen that this is a common error in WordPress.
In the worst case you can put directly in the href the logout link taken from dashboard (it works and it doesn’t contain redirect option).