Title: [Plugin: Facebook] API Error Code: 191
Last modified: August 20, 2016

---

# [Plugin: Facebook] API Error Code: 191

 *  Resolved [FrancesMelissa](https://wordpress.org/support/users/francesmelissa/)
 * (@francesmelissa)
 * [14 years ago](https://wordpress.org/support/topic/plugin-facebook-api-error-code-191/)
 * Hi all, when I try to link my account from within WordPress Dashboard I get this
   error code:
 * API Error Code: 191
    API Error Description: The specified URL is not owned by
   the application Error Message: Invalid redirect_uri: Given URL is not allowed
   by the Application configuration.
 * Thanks!
 * [http://wordpress.org/extend/plugins/facebook/](http://wordpress.org/extend/plugins/facebook/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [14 years ago](https://wordpress.org/support/topic/plugin-facebook-api-error-code-191/#post-2808770)
 * You set up your Facebook App incorrectly. Go back to the app and double check
   the URL you put in for the site, and make sure it’s exactly correct. Caps matters.
   Lack or presense of www matters. That sort of thing.
 *  [StuartWooster](https://wordpress.org/support/users/stuartwooster/)
 * (@stuartwooster)
 * [14 years ago](https://wordpress.org/support/topic/plugin-facebook-api-error-code-191/#post-2808809)
 * Same issue here….
 * *Goes away to look for answer*
 * Found this and it worked for me hooray!
 * _From the Facebook development page “Apps-YourAppName”, click on Basic in the
   LEFT Nav._
 * There are 3 sections on this page: Basic Info, Cloud Services, and “Select how
   your app integrates with Facebook”
 * In the Select how your app integrates with Facebook section, select “Website”
 * Enter your fully qualified domain name in the Site URL dialog box. Example: [http://www.mydomain.com](http://www.mydomain.com)
   OR [http://mydomain.com](http://mydomain.com) (my site does not include the www
   so I didn’t add it).
 * At the bottom of the page click the “Save Changes” button. You may receive a 
   notice that it may take several minutes to blah blah blah….but you can continue
   with the next steps immediately.
 * Now, in the Basic Information section at the top of this screen, you can now 
   add your App Domain. This should be formatted as mydomain.com. Do not add “[http://&#8221](http://&#8221);
   and do not add “/” at the end of the domain name.
 * NOTE: My site does not use the www, so I cannot confirm that it’s required in
   Step #6. Try it both ways if you’re unsure.
 * At the bottom of the page click the “Save Changes” button. You may receive a 
   notice that it may take several minutes to blah blah blah….but you can continue
   with the next steps immediately.
 * At this point the error was NOT displayed as it was before.
 * Source: [http://stackoverflow.com/questions/9330690/facebook-error-app-domain-is-not-a-valid-domain](http://stackoverflow.com/questions/9330690/facebook-error-app-domain-is-not-a-valid-domain)
 *  Thread Starter [FrancesMelissa](https://wordpress.org/support/users/francesmelissa/)
 * (@francesmelissa)
 * [14 years ago](https://wordpress.org/support/topic/plugin-facebook-api-error-code-191/#post-2808813)
 * Thanks Otto and Stuart working on it now !!!
 *  [remyhammett](https://wordpress.org/support/users/remyhammett/)
 * (@remyhammett)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-facebook-api-error-code-191/#post-2809084)
 * Thanks Samuel Wood (Otto)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Facebook] API Error Code: 191’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [remyhammett](https://wordpress.org/support/users/remyhammett/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-facebook-api-error-code-191/#post-2809084)
 * Status: resolved