{"id":111,"date":"2012-08-09T08:01:25","date_gmt":"2012-08-09T15:01:25","guid":{"rendered":"http:\/\/johnkorchok.com\/blog\/?p=111"},"modified":"2012-08-09T08:01:25","modified_gmt":"2012-08-09T15:01:25","slug":"official-facebook-plugin-for-wordpress-ssl-error-solved","status":"publish","type":"post","link":"https:\/\/johnkorchok.com\/blog\/uncategorized\/official-facebook-plugin-for-wordpress-ssl-error-solved\/","title":{"rendered":"Official Facebook plugin for WordPress &#8211; SSL Error Solved"},"content":{"rendered":"<p>This took a day to get working, mainly because of a badly worded Facebook error message. After installing the Facebook plugin on a site, an error message appeared at the top of every Dashboard page:<br \/>\n&#8220;SSL must be enabled on your server for Facebook Social Publisher to work.&#8221; Seems clear enough doesn&#8217;t it?<\/p>\n<p>This WP installation was on a virtual host server, so I studied up on configuring SNI using mod_ssl, created the virtual host section in the Apache config file, bought an SSL cert, installed it, debugged permissions to get the whole thing working. 1 day gone.<\/p>\n<p>Except that didn&#8217;t fix the error message! It was still there on each dashboard page. Googling revealed no useful information. So I headed over to the Facebook Developer site to file a bug report. Their bug report form had a bug in it: it would insist you had to enter information in the Tag field, even though I already had done so.<\/p>\n<p>I finally got the answer on the WordPress support forums. It&#8217;s nothing to do with SNI or SSL or any of the above. You have to install the curl program to work with PHP on the server. I did so and the error message went away. Talk about a misleading error message&#8230; Thanks for wasting my time, Facebook!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This took a day to get working, mainly because of a badly worded Facebook error message. After installing the Facebook plugin on a site, an error message appeared at the top of every Dashboard page: &#8220;SSL must be enabled on your server for Facebook Social Publisher to work.&#8221; Seems clear enough doesn&#8217;t it? This WP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":1,"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":112,"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions\/112"}],"wp:attachment":[{"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnkorchok.com\/blog\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}