«

Solving Weird Facebook Error 191 in IE7

Posted on January 23, 2012
Filed Under HTML, Javascript | 1 Comment     

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.

If you find this post useful, consider donating a few bucks to help the server running cost.

Go to Top

Subscribe to keep track of your comment.
1 Comment so far
  1. Greeshma March 22, 2012 6:03 am
    Until 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.

Name (required)

Email (required)

Website

Comments
If you want to post source code, please wrap it with <pre> </pre>, or it will break.
For quotations, please use <blockquote> </blockquote>

Subscribe to keep track of your comment.

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.

Code Central Special

Polls

  • Tell other about your screen resolution (pulled from web stats):

    View Results

    Loading ... Loading ...