• Resolved RHCdG

    (@rhcdg)


    Hi,
    I got the plugin successfully installed on my personal blog at http://www.cornetsdegroot.com/rhcdg/ but I have another blog in the root of that domain at http://www.cornetsdegroot.com, from where I would like to establish a connection to a Fan Page on FB. So, I figured I must upload the plugin to both plugin folders, which is what I did, however, I had already entered the Fan Page ID in the plugin settings of my personal blog. And now, the buttons on the Post Edit page of the root URL do not show…

    I’m not sure if I’m making myself clear but the idea is to publish posts from the root URL to the FB Fan Page, i.e. not from my personal blog.

    Many thanks for any suggestions!

    http://wordpress.org/extend/plugins/simple-facebook-connect/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    If you want to use your existing application on the root site, just edit the application settings to reflect that.

    Basically, remove the subdirectory from the FB app’s settings, here: http://www.facebook.com/developers/apps.php

    Generally, one FB app per WP installation. If you want an FB app to cover multiple-installs, it’s more complicated.

    Thread Starter RHCdG

    (@rhcdg)

    Thanks for your reply. Can you point me to where exactly I should go on that page?
    Just to reiterate, I would like to be able to:

    – post from my personal blog at ../rhcdg to my Facebook wall, and
    – post from the root site to the Facebook Fan Page.

    If possible, I’d like to keep both away from each other. That is why I thought I’d install the plugin in both WP installations.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    On your App, edit the page settings. It’s a link on that page. It says “Edit Settings”.

    From there, you probably need to go to the Connect tab, and change the URLs to be the URLs of the root site.

    Thread Starter RHCdG

    (@rhcdg)

    I removed the subdirectory at the app’s settings like you said, but nothing has changed. I am wondering if it is best to deinstall the plugin, remove the plugin files, and start from scrath. Would that be an idea? Or will that affect the settings (API Key, etc.) that I entered earlier?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Removing and reinstalling the plugin won’t help you any. Nothing special happens on an installation.

    What is it that isn’t working here? I guess I’m not understanding what you’re wanting to do, because that’s literally all there is to it. You put in the keys, make sure the URLs are right, connect the site to Facebook, and voila.

    What are you actually seeing that you think you should not be seeing?

    Oh, and make sure you clear your cookies too. Old cookies can cause weird results when making changes along these lines.

    Thread Starter RHCdG

    (@rhcdg)

    Here is my problem: In the Edit Posts section of the WP-installation in the subdirectory, both buttons appear, i.e., the Publish to Facebook Fan Page, and Publish to Your Facebook Profile buttons. In the Edit Posts section of the WP-installation in the root directory, the above mentioned buttons do not appear. Instead, the following message is displayed:

    “If you can see this, then there is some form of problem showing you the Facebook publishing buttons. This may be caused by a plugin conflict or some form of bad javascript on this page. Try reloading or disabling other plugins to find the source of the problem.”

    I would like to be able to publish to my Facebook Profile from the subdirectory, and to publish to the Facebook Fan Page from the root directory.

    I appreciate your help!

    Thread Starter RHCdG

    (@rhcdg)

    I guess this is resolved. I still don’t see the buttons in the root directory, but it works like I want it to.
    Thanks again for your help, and for the plugin!

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The message means exactly what it says. If the buttons don’t appear, then you have some kind of javascript problem or a configuration problem. Perhaps a problem with another plugin or something.

    Look in the browser Error Console on the page where you see that message. What is the error?

    Basically, there is javascript code inserted onto the page to make the buttons appear. So if they don’t show, then there’s an error of some sort.

    Thread Starter RHCdG

    (@rhcdg)

    The Error Console says, “FB not defined” and when I click on it, it highlights the following in the source code:

    FB.ensureInit(function(){

    Does that mean anything to you? Or should I supply the rest of the code as well?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    FB not defined usually means that a theme is missing the wp_head call or something, but in this case you’re in the admin area, so that makes no sense.

    Look at the top of the source code of the page with the error. Do you see the FeatureLoader.js.php script being called anywhere? That is where FB gets defined. If it’s not showing up, then you have some form of serious problem that I cannot explain.

    I installed the plugin. The button to Find Me on Facebook works great. But the post to Facebook is giving me this error: If you can see this, then there is some form of problem showing you the Facebook publishing buttons. This may be caused by a plugin conflict or some form of bad javascript on this page. Try reloading or disabling other plugins to find the source of the problem.

    I tried disabling all the other plugins, and it still didn’t work. I have multiple connect.facebook.com errors:

    Expected declaration but found ‘*’. Skipped to next declaration.
    Error in parsing value for ‘filter’. Declaration dropped.
    Unknown proptery ‘-moz-opacity’. Declaration dropped.
    Unknown property ‘zoom’. Declaration dropped.
    Expected color but found ‘invert’. Error in parsing value for ‘outline-color’. Declaration dropped.

    There are a couple more, too. They all have links like: http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-button-css/connect-button-css/share-button-css/FB.Connect-css/connect-css

    Please help! πŸ™ TIA!

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Those are CSS issues, they won’t prevent the thing from working.

    Most common cause of this is having set up your Facebook Application incorrectly. Follow this guide: http://ottopress.com/2010/how-to-setup-your-facebook-connect-application/

    Oh! That helped a bunch. Thank you very much! πŸ™‚

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Problem with two WP-installs on same domain’ is closed to new replies.