Support » Plugin: WPBook » [Plugin: WPBook] Multiple facebook library include issue from other plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Eckman


    WPBook already does a check to see if the Facebook library already exists – is the problem that the SEO Facebook library includes a different version of the Facebook SDK?

    Just to add: I was having problems with getting the ‘SEO Facebook Comments’ plugin to play nice with WPBook and WPBook Lite. While SEO FB Comments was active, I would receive a 500 internal error when trying to view the FB version of my blog with WPBook. With the Lite, I would get a 500 internal error on the settings page, so I couldn’t even configure it.

    I tried the changes to base_facebook.php that Sabuj kundu listed above and it looks to have solved my problem. The commenting system is working and I can get into the WPBook Lite settings. At this time, I have yet to post a new post or retry WPBook to see if all is well yet. But the fact that there are no 500 errors gives me hope. Site is

    Plugin Author John Eckman


    SEO Facebook Comments also says that it finds Facebook comments on your blog post and imports them – might duplicate WPBook Lite’s import function.

    Looks to me like both WPBook and SEO Facebook Comments are including v3.1.1 of the Facebook API.

    WPBook (and WPBook Lite) do check to see if the “Facebook” class exists before importing the Facebook client – maybe it should check for the “BaseFacebook” class first?

    I’m reluctant to take in changes to the Facebook API based on a full pastebin – maybe I need to do a diff of the two files just to see what’s changed?

    It looks like he added lines but did not modify any existing lines

    line 25: if(!class_exists(‘FacebookApiException’)):

    lines 110-112: endif;


    line 1148: endif;

    Compared the base_facebook.php contained in wpbooklite client folder with the copied pastebin using winmerge –

    Plugin Author John Eckman


    Thanks @rashadow for doing the diff I hadn’t found time to do. 😉

    I’ll get these changes in the next release.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WPBook] Multiple facebook library include issue from other plugin’ is closed to new replies.