My cure-all for almost every problem folks are having with this plug-in is to be sure your FB app has ‘Remove offline_access permission’ disabled in advanced settings. Once I changed that everything, including thumbnails started working. Hope it helps.
If you take a look at your source code, you will see this plugin is actually adding the Facebook meta tags on its own, without asking you if you want it to do so or not.
This needs to be an option, not something you have to search for and disable in plugin files.
Don’t know if the author plans to have meta tags as an option, so here’s a quick fix:
– open /wp-content/plugins/facebook-page-publish/fpp_index.php
– comment out lines 105 and 118 to 124
This removes the function that prints the meta tags to your wp_head.
I had a problem related to this myself, on a personal site: Facebook will not show preview images of pages shared if the image file name or location have spaces in them. I added my own meta tags, doing a str_replace() on the thumbnail URL (replacing spaces with %20 ), but this plugin was printing them after mine, so it didn’t work. Found the issue using Facebook’s Debugger.
Thanks Cosmin for the tip! it helped me a lot because I use Wonderm00n’s Simple Facebook Open Graph Tags Plugin to generate my custom Facebook meta tags and Facebook Page Publish Plugin was inserting the meta tags by itself which was causing conflicts with Facebook open graph.
Doing as instructed here
– open /wp-content/plugins/facebook-page-publish/fpp_index.php
– comment out lines 105 and 118 to 124
Solved my problem.
Can someone post the actual lines that need to be deleted instead of just the line numbers? I’m new to this and don’t want to be deleting out the wrong stuff. Please help cause this issue has been driving me nuts for weeks now. Seems like an easy fix as long as I am sure that I’m deleting the correct lines…. thanks.
Can someone PLEASE tell me how to find which is line 105 and then 118 to 124? I need to correct this problem.
Hi Gluteemy,
In order to identify those line numbers in the code you should edit the file with the help of a plugin such WPide http://ww.wp.xz.cn/plugins/wpide/screenshots/ within the WP Admin Panel or even by using a code editor application such as Dreamweaver or free alternatives such as Komodo Edit http://www.activestate.com/komodo-edit
For instructions on how to comment out php code, please take a look at this: http://php.net/manual/en/language.basic-syntax.comments.php
I hope it helps you.
You’d need to comment out:
add_action('wp_head', 'fpp_head_action');
and
function fpp_head_action() {
global $post;
if (is_object($post) /*&& ($post->post_type == 'post') */ && is_singular()) {
fpp_render_meta_tags($post);
}
}