webtechnick / CakePHP-Facebook-Plugin

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

channelUrl option in FB.init method #139

Closed sarce closed 5 years ago

sarce commented 11 years ago

Hi Nick!

According to FB documentation, I understood that the channelUrl option must be set to a full qualified URL, for example: http://www.yourdomain.com/channel.php, rather than a relative path. Am I right?

"channelUrl specifies the URL of a custom URL channel file. This file must contain a single script element pointing to the JavaScript SDK URL."

https://github.com/webtechnick/CakePHP-Facebook-Plugin/blob/master/View/Helper/FacebookHelper.php#L505

Thanks!