steve.masker
asked 10 years ago

Greetings,
I’ve posted about this topic in the WP > Support > Themes and Templates forum for the DW Minion theme with some DesignWall (the discussion can be found here: http://wordpress.org/support/topic/posts-dont-publish-to-facebook?replies=4#post-5217982). 
To recap: 

I am experiencing an issue with new posts publishing to my Facebook fan page. To clarify, published posts are appearing on every social media network I have connected to WordPress with the exception of my Facebook fan page.
After much research, I’ve discovered – using the Facebook debugger tool (https://developers.facebook.com/tools/debug/) – that there appears to be error with the theme I’m currently using, DW Minion.
Regardless of whether I enter my blog’s URL (http://stephenmasker.com/blog/) or an article specific URL (http://stephenmasker.com/blog/society6/), *all* of my blog URL’s return an error in Facebook’s debugger tool, which reads:
Object Missing a Required Value: Object at URL ‘http://stephenmasker.com/blog’ of type ‘article’ is invalid because a required property ‘og:image:url’ of type ‘url’ was not provided.
Further, I believe this error is theme related because when I switched to *any other theme* – for example, Virtue (http://wordpress.org/themes/virtue) – the error is resolved. Additionally, other themes not only resolve the error produced in the Facebook debugger tool, but they also all publish articles to Facebook without issue.
Lastly, I have uninstalled & reinstalled the Facebook WordPress app (via Facebook) countless times, deactivated and reactivated my social media accounts (via the WordPress dashboard), and, I’ve deactivated all plugins. After all of this, I ran the FB debugger tool again (on any given URL on my blog), and still the error persists.
I am confident that an articles failure to publish to my Facebook fan page is a theme related issue.

I have attempted replacing the code on the functions.php file with the two, separate code suggestions that WP member DesignWall provided. Neither of which has resolved the Facebook debugger tool error which now reads: 

More Than One OG URL Specified

Object at URL ‘http://stephenmasker.com/blog/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: http://stephenmasker.com/blog/, http://stephenmasker.com/blog/society6/.

 
Could you please look into the error I’m receiving and its relationship to DW Minion?
Thank you, 
Steve
 
 

steve.masker
replied 10 years ago

*Typo. The first sentence should read:

I’ve posted about this topic in the WP > Support > Themes and Templates forum for the DW Minion theme *and received some help from* DesignWall (the discussion can be found here: http://wordpress.org/support/topic/posts-dont-publish-to-facebook?replies=4#post-5217982).

2 Answers
Kido D
answered 10 years ago

Hi Steve,  
Please send us your site admin account (via Private answer) so that I can sort things out for you.  
Regards,

Kido D
answered 10 years ago

Hi Steve,
Your site URL at http://stephenmasker.com/blog is not responding while I was checking it (maybe there is an error code in functions.php file of the theme).
I believe that Facebook issue was caused by meta tag conflict between the theme and the social share plugin that you are using on the site.
On our demo site of DW Minion, there is no error when checking with the Facebook debugger tool.
You can try this solution and see if it resolves the issue: Open up the functions.php file in themes/dw-minion folder, and remove all the the code below (around line 61):

 // features image on social share
add_action('wp_head', 'minion_features_image_as_og_image');
function minion_features_image_as_og_image() {
...
}

 
If the problem persists, please send me the FTP info of your site so that I can resolve it for you.  
Regards,

steve.masker
replied 10 years ago

Hello Kido,

This looks like it has resolved the issue. Thank you for taking the time to trouble shoot this issue.

If you could point me in a direction to resolve another theme/facebook question, I would greatly appreciate it..

Prior to this theme, Facebook would recognize the first image (usually located at the top of my published blog article) upon publishing the blog update via the WP ‘Publicize’ feature. Additionally, Facebook’s ability to recognize the image at the top of the blog article was not contingent on designating a ‘featured’ image.

My question: How do I resolve the issue of Facebook designating whichever image it chooses as the main/dominant social media image for my published blog posts?

Thank you,
Steve

Taner Kışlalı
replied 10 years ago

I was happy to have solved the problem. But the above method did not work for me.

My link :

Powered by DW Question & Answer Pro