Facebook Plugin for Wordpress

0

I installed the facebook plugin in wordpress a few months ago and it worked correctly. However, from a month to now, a problem has messed up my posts and I can not publish anymore. When posting something in wordpress and trying to automatically post to facebook, it generates the following error:

Failed posting to MY NAME Timeline. Error: {"message":"An unexpected error has occurred. Please retry your request later.","type":"OAuthException"}

Does anyone have any information about this?

Facebook Plugin for Wordpress

    
asked by anonymous 19.02.2014 / 15:02

1 answer

1

I recommend you create your facebook plugin on facebook's own developer would look something like this

<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/pt_BR/all.js#xfbml=1&appId=seu id";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="http://seu site/?p=<?php the_ID(); ?>" data-width="692" data-numposts="5" data-colorscheme="light"></div>

The code is already explained, width width data-numposts post number etc .. The differential of it is ?p=<?php the_ID(); ?> after the link of your site with this it fixes that bug of showing in all pages the same comments.

    
27.02.2014 / 18:43