Solving Weird Facebook Error 191 in IE7
I was doing some QA for a Facebook application the other day. I encountered a strange error message that only occurred in IE 7, but not in any other browsers that I tested against with (Firefox, Chrome, Safari, perhaps IE >= 8 too).
API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: redirect_uri is not owned by the application.
Adding a channel file fixed the problem:
FB.init({ appId: 'FB_APP_ID',
status: true,
channelUrl: 'channel.html',
cookie: true,
xfbml: true,
oauth: true});
Make sure that channel.html is accessible from the current page where the "init" script is.
If you encounter this problem and running out of solutions, it's worthwhile to give this a try.
-
Greeshma March 22, 2012 6:03 amUntil now never encountered such a prob but will surely bookmark this page for future reference.
Leave a Comment
If you would like to make a comment, please fill out the form below.
To my beloved readers:
Please note that you may freely post comments here, but I will most likely not be able to reply to most them due to my current availability.
