Wednesday, June 5, 2024
 Popular · Latest · Hot · Upcoming
134
rated 0 times [  135] [ 1]  / answers: 1 / hits: 21750  / 13 Years ago, thu, november 10, 2011, 12:00:00

I am trying to use the FB.ui() to send apprequests to friends. My application is a tab iframe app (NOT A CANVAS APP) so in my developers section, I only have the Basic info and Page Tab section complete (not the app on facebook area) as I do not want users to be able to directly go to the application.



the FB.UI() worked yesterday when I had the app of facebook area completed for my app, but when removing it I get the following error:



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.



The code I am using to send the messages is:



FB.ui({method: 'apprequests',
message: 'Play RCS Let's make it happen game!'
}, function(data) {
$(#sendToFriends).fadeOut();
$(#didyouknow).fadeIn();
console.log(data);
});


I dont mind completing the area for the App of Facebook, but is that required and does that then make the above message notification url the app location or the page tab where the application is installed?



Any help will do!


More From » jquery

 Answers
65

Populate the App Domain: and Site URL: fields in the Tab Settings. That will help with your problem. And you have to be sure that the Redirect URL matches the domain you specify.


[#89213] Tuesday, November 8, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
shane

Total Points: 239
Total Questions: 91
Total Answers: 114

Location: Faroe Islands
Member since Tue, Jul 7, 2020
4 Years ago
shane questions
;