Posting from WordPress to Facebook?

FacebookTwitterGoogle+PinterestTumblrLinkedInShare

Well, if this is correct, I have successfully installed a cool little plugin called “Facebook Page Publish” which will allow me to share any post I blog to be posted to my Jon Loudon Web Specialist facebook page.

The plugin did not work “out of the box” due to some permission errors.  I found a helpful support thread on the wordpress site that made it work finally…

http://wordpress.org/support/topic/plugin-facebook-page-publish-your-page-or-profiles-access-permissions-could-not-be-verified

On line 663
Change

$permissions = array('offline_access', 'share_item');

to

$permissions = array('share_item');

Then on line 594, change

preg_match('/^.+=\s*(.+)/', $access_token_url, $matches);

to

preg_match('/access_token=(.*)&expires/', $access_token_url, $matches);

Posted in Blog Tagged with:

Call or Text:
(602) 899-1736
(602) 899-1SEO

%d bloggers like this: