• Resolved TCB13

    (@tcb13)


    Hello,
    This plugin seems great, but I can’t get the “Allow FB Login to Comment (for non-registered users)” to work in by blog.

    The problem is that currently when I click on the “Connect With Facebook” button it opens the Facebook dialog and the authorization happens correctly by after that, nothing else appears on the website… the default Name/Email/WebSite form stays there without any extra info.

    I’m currently using your Twitter connect plugin and it populates my Name/Email form correctly but with Facebook nothing happens. I’m using the default comment_form() function in my theme.

    I’ve also notice that on this website: https://steveruddyphotography.com/2012/08/new-website-design/ wordpress just hides the comment form and shows “welcome xxx to..” with a nice user pic, instead of just populating the form like the Twitter plugin.

    Btw, does this plugin require jQuery or something else to work?

    Thank you!

    https://www.ads-software.com/extend/plugins/simple-facebook-connect/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The plugin does require some javascript and jquery to do that replacement bit, but it should load everything it needs. Check your javascript console to see if there’s any errors. If your theme doesn’t have the proper header/footer calls, or there’s any other broken JS on the page, then this can interfere with that operation.

    Thread Starter TCB13

    (@tcb13)

    Hi,

    The only thing I get after clicking “Connect with Facebook” is:

    Unsafe JavaScript attempt to access frame with URL https://v3.semprenamoda.com.pt/2012/08/smoothies-saudaveis/ from frame with URL https://www.facebook.com/dialog/oauth?api_key=101484559945141&app_id=101484559945141&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D10%23cb%3Df3c95ba264%26origin%3Dhttp%253A%252F%252Fv3.semprenamoda.com.pt%252Ff1a11219ac%26domain%3Dv3.semprenamoda.com.pt%26relation%3Dparent.parent&client_id=101484559945141&display=none&domain=v3.semprenamoda.com.pt&locale=pt_PT&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D10%23cb%3Df1e60b91b8%26origin%3Dhttp%253A%252F%252Fv3.semprenamoda.com.pt%252Ff1a11219ac%26domain%3Dv3.semprenamoda.com.pt%26relation%3Dparent%26frame%3Df167179474&response_type=token%2Csigned_request%2Ccode&sdk=joey. Domains, protocols and ports must match.

    What’s the issue, I also get the “Domains, protocols and ports must match” error message before trying to connect, in like buttons, and this warning:

    The "fb-root" div has not been created, auto-creating

    Thank you.

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I would need to see the actual site, but it also appears that your URL is password protected, which would be a problem too.

    Sites must be live before Facebook can see them. Facebook actually pulls the content from your site itself, you can’t use Facebook code on invisible sites.

    Thread Starter TCB13

    (@tcb13)

    I removed the password protection and I still have the same problem… Try to connect with Facebook on this post: https://v3.semprenamoda.com.pt/2012/08/maos-de-princesa/#respond

    If you try twitter it’s also not hiding the form and displaying the welcome message, it’s just filling the form… is there any thing I need to enable to make it work?

    Thank you.

    Thread Starter TCB13

    (@tcb13)

    I’ve also noticed that I need to add this code to my header in order for the tweet and like buttons appear on the website:

    <script src="https://connect.facebook.net/pt_PT/all.js#appId=101484559945141&xfbml=1"></script>
    	<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

    Shouldn’t this be automatic?

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Yeah, you’re missing some code.

    Make sure your WP theme has the wp_head() call and wp_footer() calls in the header.php and footer.php respectively. There should be a wp_head() call immediately before the </head> tag, and a wp_footer() call immediately before the </body> tag.

    Thread Starter TCB13

    (@tcb13)

    Hi,
    You’re right! I was missing wp_footer()!

    Thank for all! Your plugins are great, keep the great work!

    Thread Starter TCB13

    (@tcb13)

    Marking this topic as resolved!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Simple Facebook Connect] FB Login to Comment Not Working’ is closed to new replies.