Pergunta

I've searched around and found a lot of advice saying to modify the hosts file as such:

127.0.0.1    mydomainname.com

I've done that, but my actual site at mydomainname.com is still being used. Any other troubleshooting steps I could take? Any other suggestions?

Foi útil?

Solução

simply setup your canvas address as localhost. Unless you're using FBML, it works. See http://fbgraph.computerbeacon.net/tutorial/section1/createnewapp.aspx for an example.

Outras dicas

Restart your browser, try ipconfig /flushdns (I'm a bit hazy on Windows DNS caching so that may or may not help here) or restart your computer. Unless you've done something really weird, the hosts file should have priority, so something must be caching the DNS result.

Just make your redirect_uri your localhost address like:

https://graph.facebook.com/oauth/authorize?client_id={consumerKey}&redirect_uri=http://localhost:4403/Handshake

I have mine set up in visual studio to switch between localhost and live return_url's depending on whether debug or release is selected

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top