WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] WordPress Multisite installation? (7 posts)

  1. Steve@BHQ
    Member
    Posted 1 year ago #

    Is there any reason we can't use the same App ID, App secret and App namespace on any/all sites on a WordPress Multisite installation?

    Thank You, Steve

    http://wordpress.org/extend/plugins/facebook/

  2. hakonzen
    Member
    Posted 1 year ago #

    Got the same problem on my Multisite, any respons from the developers soon?

  3. Steve@BHQ
    Member
    Posted 1 year ago #

    @hakonzen, I'm currently using the same App ID, App secret and App namespace on several sites on my WordPress Multisite installation. Doesn't seem to be an issue.

    But I'd still like to hear from the WP community if this is going to be a problem.

  4. danetidwell
    Member
    Posted 1 year ago #

    It's working for me. Steve - what is your App domain set to? http://www.domain.com or domain.com?

    If it's set to www, technically that is a subdomain, so it won't allow anything else other than the www. If you go into the app and change the domain to just domain.com, that will fix the othersite.domain.com issue.

    Otherwise, not sure what the issue might be as it works fine for me.

  5. Steve@BHQ
    Member
    Posted 1 year ago #

    @danetidwell, thx! mine's working fine too. and yes I have it set without the www.

  6. Samuel Wood (Otto)
    Tech Ninja
    Plugin Contributor

    Posted 1 year ago #

    You can use the same application info for more than one site if one of the following applies:

    - All the sites are subdirectories under the same domain name (foo.com/a, foo.com/b, etc).

    - All the sites use subdomains and you specify the Application Domain in the Facebook app as the bare domain (entering "foo.com" as the App Domain will allow a.foo.com and b.foo.com to both work as well).

    - Each separate domain name is entered into the Facebook Application as the App Domain (foo.com, bar.com, both entered into the application).

    Basically, the Facebook Application must be able to recognize the domain of the current page that you're viewing as being valid. Note that this applies to both the front end of the site as well as the wp-admin back-end, meaning that if you have a setup where they are on different domains, then the FB Application must know about them both in some fashion.

    If the FB App doesn't know about the domain, then it will fail to authenticate properly and stuff will seem to be randomly broken.

  7. ialima7
    Member
    Posted 1 year ago #

    Otto:

    And to use different FB applications for different sites in subdirectories using WPMU?

    In my case, the subsites are totally different sites. I would use different applications.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic