WordPress.org

Ready to get started?Download WordPress

Forums

Facebook AWD All in one
[resolved] Conflict with other plugins (13 posts)

  1. spiritgreen
    Member
    Posted 2 years ago #

  2. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    If this plugin use the api of facebook as standalone, it can break some plugins already using facebook.

    Maybe i can try to rename the class from the api.

  3. Grant Norwood
    Member
    Posted 2 years ago #

    Also, Facebook AWD is conflicting with the Disqus plugin. When both are installed and activated, only the default "Comments are closed." WP text is displayed.

    Disabling the Disqus plugin causes the default WP comment system to be displayed and work correctly.

    More importantly, disabling Facebook AWD causes the Disqus comments to work correctly.

    I'd love to see these 2 plugins play nicely together, I'm having to use another Open Graph plugin in the meantime!

  4. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    I know that problem...

    I will work on it for the 1.0 version of the plugin.

  5. Grant Norwood
    Member
    Posted 2 years ago #

    Thank you, I appreciate your hard work!

  6. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    To help me remebering that problem,

    Can you submit a bug in the tracker ?

    Here : http://trac.ahwebdev.fr/projects/facebook-awd

    thanks

  7. Grant Norwood
    Member
    Posted 2 years ago #

  8. mirage10
    Member
    Posted 2 years ago #

    conflict with facebook photo fetcher also... below error appear..

    Warning: Another plugin has included the Facebook API throughout all of WordPress. I suggest you contact that plugin's author and ask them to include it only in pages where it's actually needed.

    Things may work fine as-is, but only if the API version included by the other plugin is at least as recent as the one required by Facebook Photo Fetcher.

    Fatal error: Call to undefined method stdClass::auth_createToken() in /home/zizulcom/public_html/blog/wp-content/plugins/facebook-photo-fetcher/_admin_menu.php on line 57

  9. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    NO NO NO... This plugin need the API every Where...

    THe Facebook API used by Facebook AWD is the last one.
    It use both JS api AND PHP API and is up to date! (PHP SDK 3.1.1 Last one form Facebook.)

    The API can be used by other plugin.

    The authors of others plugins just have to verify if the plugin exists and use his api instead.

    How to ?

    <?php
    global $AWD_facebook;
    
    if(is_object($AWD_facebook->fcbk))
        echo 'API IS ACTIVATED FORM AWD'
    ?>

    the API is here:
    $AWD_facebook->fcbk => object php of the SDK Facebook
    $AWD_facebook->fcbk->api() function to call api.

    As you can see it's very simple.

    Why i do not want to modify the plugin ?
    Simply because this plugin include a lot of api call, a full configuration of the api with openGraph protocol. OAuth system and all others api used to fetch data from facebook. TO allow to publish on your pages, to get login system for your members etc...

    Facebook photo fetcher use the api only to make one call on Facebook.
    And he can easily modify this plugin to use the api instancied by Facebook AWD.

    The Facebook AWD plugin is a base.
    There is a full system inside to redefine api, to use it, or to add subplugin to it.

    The wiki explain a lot of thing about that, and in the version 0.9.9(new one in next week) will impletment the ne openGraph system, the new openGraph publish actions with custom objects.

    SO It's very difficult for me to use ohter api.

    This tool is maybe more usefull for people who want to use FULL featured Facebook Tool API with wordpress.

    The fetch facebook photo and Disqus can be updated to use THE AWD Facebook Api. because it is more simple and more configured.
    It's A FULL Facebook Plugin, not a plugin that uses the API only to make little calls to facebook.

    So i am really sorry, but this plugin will never be updated to be compatible with those plugins that use the Facebook API, they want to be the master FACEBOOK API But it's the role of this plugins...

    But you're free to modify it, to use an other one.
    You will always have this problem while the API is used from a PHP SDK CLASS that hold the same name in each plugin.

  10. mirage10
    Member
    Posted 2 years ago #

    Tq sir, so.. any suggestion how i can handle the conflict? i really need both plugins... huhu =/

  11. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    Which features do you use in Facebook awd ?

  12. mirage10
    Member
    Posted 2 years ago #

    commment, and like...facebook connect...

  13. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    Comment and like can be used as standalone...

    But for the facebook connect, it's more complicated...you should try to replace the api inside others plugins...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic