[Plugin: Facebook] Plugin using a different PHP SDK?
-
I’m using the PHP SDK to pull dynamic content via the Graph API into a widget on my site via a custom plugin.
After installing the Facebook plugin, I get an error
Cannot redeclare class Facebook...
if I try to include a copy of the standard PHP SDK. I commented out myinclude
and now rely on the Facebook class loaded by the plugin.Now, when I try to make an api call (fql), I get the error:
Access to undeclared static property: BaseFacebook::$CURL_OPTS in my_server/wp-content/plugins/facebook/includes/facebook-php-sdk/base_facebook.php on line 880
.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Facebook] Plugin using a different PHP SDK?’ is closed to new replies.