Plugin patch
-
Hi All,
We all know that Facebook is forcing everybody on the Internet to be compatible with their policy, and Facebook Open Graph API 1.0 is going to expire on 2015/4/30.
This plugin is really easy to use, and it works fine with me, but unfortunately it seems not be compatible with Facebook Open Graph API 2.0+.
So I make a path for it.
To install, just go to https://github.com/rasielchang/nextend-facebook-connect-patch, download zip file and unzip it, then copy nextend-facebook-connect directory to your WP plugin directory.
This patch use Facebook Javascript SDK instead of PHP SDK, so you’ll need to put following code right after html body tag:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.3&appId=<em>YOUR_FACEBOOK_APP_ID</em>"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>Please replacing YOUR_FACEBOOK_APP_ID to your Facebook App ID.
Note. If you have already use Facebook Social Plugin such as Like Button or Like Box, you should have already put this code in you theme, please check it first.
==IMPORTANT==
I DON’T GUARANTEE THIS WORK, BUT IT DOES WORK FOR ME.
The topic ‘Plugin patch’ is closed to new replies.