kaur
kaur

Reputation: 657

Facebook Deauthorize CallBack Url not being pinged

I'm running a facebook app on localhost using wamp. My application is working fine on localhost. I've specified the deauthorize callback url in the app settings as

"http://localhost/MyApp/deauthorize.php"

But when I remove the app, deauthorize.php is not being pinged. I'm able to access this script over my machine. I tried http://developers.facebook.com/tools/debug tool, but i gets error in parsing localhost URLs. Is it that I can't give localhost url to deauthorize? or if I m missing something. Any help is appreciated. Thank You

Upvotes: 2

Views: 1286

Answers (1)

C3roe
C3roe

Reputation: 96417

Of course you can’t use a localhost address a callback URL, since from “out there” on the web there is no way of knowing that localhost is supposed to be your machine.

I'm able to access this script over my machine.

But Facebook’s servers aren’t running on your machine …

If you want to get that to work for testing, get a DynDNS address somewhere, and make sure your web server is also accessible from the outside.

Upvotes: 2

Related Questions