Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m using https://www.ads-software.com/extend/plugins/wp-fb-autoconnect/ with WP 3.3.2 successfully. The one downside is that by default it only works as a sidebar widget.

    You can add it to your login/register page by adding this code to functions.php:

    <?php
    
    if (function_exists('jfb_output_facebook_init') && !function_exists('output_facebook_login')) :
    	function output_facebook_login(){
    		global $action; ?>
    		<?php if ($action=="register" || $action == "login") :
    			$text = ($action=="login")? "Login" : "Register";
    			?>
    			<form name="registerform">
    			<div>
    				<fb:login-button scope="email,publish_stream" v="2" size="large" onlogin="jfb_js_login_callback();"><?php echo $text; ?> with Facebook</fb:login-button>
    			</div>
    			</form>
    		<?php endif; ?>
    	<?php
    	}
    	add_action('login_message','output_facebook_login', 1);
    
    	// add facebook to the login page
    	function output_facebook_callback(){
    		jfb_output_facebook_callback('/');
    	}
    	add_action('login_footer', 'jfb_output_facebook_init');
    	add_action('login_footer', 'output_facebook_callback');
    endif;
    ?>

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Most of them tell me the Application ID is wrong…… which it isn’t.

    If you’re getting that message, then most likely you’re using some other plugin that also has Facebook related elements in it, and this is interfering. Any “sharing” plugins that you’re using, perhaps?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simple Facebook Connect] No FB Comments plugin will work’ is closed to new replies.