Skip to main content

Simple Solution for Facebook APP Error - Given URL is not Allowed.

Facebook documentation and user notes are very useful when you develop a Facebook application. You can simple start here, https://developers.facebook.com/. Of course, you need your domain and/or web server. Many says 'localhost' is fine to test Facebook application, but I met lots of problems with localhost.

I think, the first error after launching your app might be
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.

Just confirm that

  1. BOTH APP domains AND site url fields are filled and one of your domains should be match with site url.
  2. urls such as redirect_url in your codes (php, java, whatever) must be matched to the domain(s) or site url.


 That's it.

Comments

Popular posts from this blog

Google's Favorite Colors By Hex Codes (With New Google Logo)

Google keeps its color scheme cross their products. Of course, each uses different colors but it keeps the main philosophy. I heard that the test period for new Google logo was more than one year. It may the reason that the colors are comfortable to look. Sometimes, I copy the colors for designing my blogs and web sites. Copyright? oh..

Color Conversion: RGB to HEX , HEX to RGB

Color conversion between RGB and Hex is needed sometimes even though HTML and CSS accepts both RGB and HEX codes for set color scheme of HTML elements. The conversion algorithm is simple. Then numbers in RGB format is decimal number and one in HEX code is hexadecimal number. For example, rgb(50, 100, 250) is same in HEX #3264FA: 50-32 | 100-64 | 250-FA.

Why Blogger Mobile Template Not Work?

Google Blogger shows blog pages with mobile CSS on mobile devices unless you change it disabled. You can see next figure by clicking mobile setting button on Template page. Since I want to change CSS and I remember there are some CSS elements starting with '.mobile', I open the template editor and edit as I want. And open my blog in my smart phone. Nothing changed.