<input type="hidden" id="_wpnonce" name="_wpnonce" value="9b59fc619e" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/2029" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="9b59fc619e" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/2029" />{"id":2029,"date":"2014-01-21T14:13:39","date_gmt":"2014-01-21T03:13:39","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=2029"},"modified":"2014-01-21T14:27:04","modified_gmt":"2014-01-21T03:27:04","slug":"error-posting-facebook-using-nextscripts-v3-1-1","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2014\/01\/21\/error-posting-facebook-using-nextscripts-v3-1-1\/","title":{"rendered":"Error with posting to Facebook using NextScripts v3.1.1"},"content":{"rendered":"<!--CusAds0--><p>If you&#8217;re using the WordPress Plugin NextScripts version 3.1.1 to automatically post to your Facebook account you may have noticed that you get an error message in the log, something similar to this:<\/p>\n<p>&#8211; -=ERROR=- Array ( [pgID] =&gt; [isPosted] =&gt; 0 [pDate] =&gt; 2014-01-20 12:45:16 [Error] =&gt; [ERROR] (#100) actions should be a JSON-encoded dictionary with &#8220;name&#8221; and &#8220;link&#8221; keys )<\/p>\n<p>The easiest solution is to upgrade the plugin to version 3.1.2 and this fixed the issue. The problem might have started since the new updates to the Facebook API&#8217;s.<\/p>\n<p>If you&#8217;re looking to download and try the plugin <a title=\"NextScript\" href=\"https:\/\/www.businesslegions.com\/blog\/nextscript\">click here<\/a>.<\/p><!--CusAds0-->\n<p>&nbsp;<\/p>\n<p><a title=\"http:\/\/www.shareasale.com\/r.cfm?b=414913&amp;u=696632&amp;m=36321&amp;urllink=&amp;afftrack=\" href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript.png?strip=all&w=2560\" target=\"_blank\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-2034\" alt=\"nextscript\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript-300x38.png?strip=all\" width=\"300\" height=\"38\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript-300x38.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript.png?strip=all 468w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript.png?strip=all&amp;w=93 93w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript.png?strip=all&amp;w=187 187w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2014\/01\/nextscript.png?strip=all&amp;w=374 374w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>What does the plugin do?<\/strong><\/p>\n<p>It is a WordPress plugin that automatically re-post your posts or announcements including images of your posts to most popular Social Networks such as Facebook, Twitter, Google+, Pinterest, LinkedIn, Tumblr, Blogger\/Blogspot.<\/p>\n<p><strong>Why use it?<\/strong><\/p>\n<p>Who doesn&#8217;t want to save time!!! When using this plugin you don&#8217;t have to login to each of your social media platforms and post exactly the same thing.<\/p>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using the WordPress Plugin NextScripts version 3.1.1 to automatically post to your Facebook account you may have noticed that you get an error message in the log, something similar to this: &#8211; -=ERROR=- Array ( [pgID] =&gt; [isPosted] =&gt; 0 [pDate] =&gt; 2014-01-20 12:45:16 [Error] =&gt; [ERROR] (#100) actions should be a JSON-encoded [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2034,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[382],"tags":[],"class_list":["post-2029","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/2029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=2029"}],"version-history":[{"count":7,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/2029\/revisions"}],"predecessor-version":[{"id":2039,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/2029\/revisions\/2039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media\/2034"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=2029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=2029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=2029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}