Facebook Feed Dialog Returns API Error Code: 191

Posted by Kris on Stack Overflow See other posts from Stack Overflow or by Kris
Published on 2012-11-09T12:37:33Z Indexed on 2012/11/12 17:00 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

In my Facebook App I'll always get the following error :

An error occurred. Please try again later. 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.

I just want to feed a post via button my code is

  function postToFeed() {
    // calling the API ...
    var obj = {
      method: 'feed',
      link: 'https://mydomain.com/',
      picture: 'https://mydomain.com/img/feed.png',
      name: 'BLABLADialog',
      caption: 'UeberschriftBLABLA',
      description: 'DescriptionBLABLA',
      show_error: true
    };
    function callback(response) {
      document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
    }
    FB.ui(obj, callback);
  }

my Canvas-URL is "http://mydomain.com/"
my Secure Canvas-URL is "https://mydomain.com/"
my Tab-URL is "https://mydomain.com/tab.php"
my Secure Tab-URL is "https://mydomain.com/tab.php"
my Website with Facebook Login SITE URL is "https://mydomain.com/"

so what I am doing wrong ?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about api