Facebook login, redirect_uri is not owned by the application. why? -


i can't add fb login site. registered application:

url: http://www.chusmix.com/ domain: www.chusmix.com 

and pasted login code , replaced app id in it:

<html>   <head>   </head>   <body>    <div id="fb-root"></div>       <script src="http://connect.facebook.net/en_us/all.js"></script>       <script>          fb.init({              appid:'212044715486306', cookie:true,              status:true, xfbml:true           });       </script>       <fb:login-button>login facebook</fb:login-button>   </body> </html> 

however when clicking login button error 191: redirect_uri not owned application

also code in page: http://www.chusmix.com/game/ according facebook says filling field domain makes pages in domain able use facebook authorization. tried pointing directly domain login button , same error.

there isn't redirect url.


update: seems login works in http://www.chusmix.com/game/ doesn't on http://chusmix.com/game/ (without www).

is there way make work if user doesn't type www.? or have use redirect?

try adding site url app settings edit settings->web site->site url. while there might fill in site domain in case add sub domains in future.


Comments