webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

Incorrect Channel URL #108

Open aldeed opened 11 years ago

aldeed commented 11 years ago

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