Facebook login in grails error

I want to allow my users to login with facebook account. I'm using Facebook SDK for JavaScript. https://developers.facebook.com/docs/facebook-login/getting-started-web/

So my problem is:

When I click on the login button to login with facebook account. I get the error given below;

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Maybe there is settings problem I guess. Can anyone help me ?

Thanks Smac

Answers


Your application URL (that you are running) must match to either of the URLs in the App settings-

  • SITE URL (if integrated with website)
  • CANVAS URL (if canvas app)

Need Your Help

Get Selected index of UITableView

ios objective-c iphone uitableview nsindexpath

I want to have selected index for UITableView.

Is it possible to have two different font sizes in one spinner

java android font-size android-spinner

I want to know if it is possible, when you have 1 Spinner, to get 2 different font sizes in it. I want to show an abbreviation on a spinner and then the full word after it, but smaller.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.