Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Given URL is not allowed by the Application configuration

I am trying to use the Facebook javascript sdk for my chrome extension. Since it is a chrome extension how do i integrate it with facebook? is it an app on facebook.com or a website?

Currently i have it as a website.

my site url on the settings is: http://localhost/Users/home/Documents/facebook/

i have also enabled web sharing on my mac.

do i need to set the site domain as well? what am i doing wrong here?

like image 748
Praveen Avatar asked Aug 25 '11 02:08

Praveen


1 Answers

Enter http://localhost/Users/home/Documents/facebook/ as your "Site Domain" on the developer app:

https://developers.facebook.com/apps/{api_key}/summary

Replace {api_key} with yours; or find a link at https://developers.facebook.com

Interestingly enough, Facebook lets you type anything into the domain so it can be an offline URL (such as localhost or a local port) and Facebook will redirect to it after authentication.

like image 173
Mike Knoop Avatar answered Oct 23 '22 13:10

Mike Knoop