The channel URL specified in the javascript added by the helper init function is not correct. It must be absolute path with protocol (or //). See https://developers.facebook.com/blog/post/530/ (under the example PHP script).
This is how I've changed it, although I've also moved the channel.php file into webroot.
The channel URL specified in the javascript added by the helper init function is not correct. It must be absolute path with protocol (or //). See https://developers.facebook.com/blog/post/530/ (under the example PHP script).
This is how I've changed it, although I've also moved the channel.php file into webroot.
channelURL : '" . $this->Html->url('/channel.php', true) . "', // Channel File