Click here to Skip to main content
15,921,210 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting this html code from facebook developer section. but when i am running this get an error:

XML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <head>
      <title>My Facebook Registration Page</title>
    </head>
    <body>
      <div id="fb-root"></div>
      <script src="http://connect.facebook.net/en_US/all.js">
      </script>
      <script>
         FB.init({
            appId:'**************', cookie:true,
            status:true, xfbml:true
         });
      </script>

    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=************&amp;xfbml=1"></script><fb:login-button show-faces="false" width="200" max-rows="1"></fb:login-button>
    </body>
</html>



the error is:
MSIL
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.



need some help to get out from this problem. Thanks in advance.
Posted

Don't you think this would be better posted in the Facebook Developers forum? After all, the Facebook API is used FAR more often over there than it is here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900