I'm seeing this error in Internet Explorer (but not other browsers):
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri isn't an absolute URI. Check RFC 3986.
My canvas URL is http://nintriva.com/_others/groupbuy/index.php?r=groupbuy/facebook/authenticate
and my app is installed on the page http://www.facebook.com/nintriva?sk=app_241476069209769
.
I have provided the site URL, http://www.nintriva.com/_others/groupbuy/index.php?r=groupbuy/facebook/authenticate
, and the site domain www.nintriva.com
.
I use this code to redirect to the Facebook fan page after the user gives permission:
$this->auth_url = "http://www.facebook.com/dialog/oauth?client_id=".Yii::app()->controller->module->app_id."&redirect_uri=".urlencode($session['page_link']."?sk=app_".Yii::app()->controller->module->app_id)."&scope=email,user_location";
where page_link
is the user fan page link I get from a signed request.