Hi guys, running into a problem here when trying to tie the plugin into my blog and forum.
Forum is hosted at: http://www.onlyanexcuse.com
Blog is at: http://www.onlyanexcuse.com/wordpress (for now, plan to move it later but want to get this working first to test it after it went pear shaped last time).
I have installed JSON API on Wordpress, plugin is installed on my forum (NodeBB v0.7.0.), Comments section has been replaced with the following:
<?php
if ( post_password_required() )
return;
?>
<a id="nodebb/comments"></a>
<script type="text/javascript">
var nodeBBURL = 'http://www.onlyanexcuse.com',
articleID = '<?php echo the_ID(); ?>';
(function() {
var nbb = document.createElement('script'); nbb.type = 'text/javascript'; nbb.async = true;
nbb.src = nodeBBURL + '/plugins/nodebb-plugin-blog-comments/lib/wordpress.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(nbb);
})();
</script>
<noscript>Please enable JavaScript to view comments</noscript>
And the settings in the plugin page on ACP are as follows:

All good so far. When I publish an article, I get a button underneath it to "Publish this article to NodeBB".
When clicked, I get this error:
{"error":"Unable to post topic"}
And this comes up in my error logs in nodebb/logs/output.log:
9/6 16:54 [5926] - [33mwarn[39m: [nodebb-plugin-blog-comments] Origin (undefined) does not match hostUrls: http://www.onlyanexcuse.com/wordpress
Could @psychobunny or anyone else see where I may be going wrong?
Additional note: In the "comments.php" file, i've used both "http://www.onlyanexcuse.com" and "//www.onlyanexcuse.com". Both produce the same result.