I use ASP .NET and Facebook Connect APIs. but when I run the app and press Connect button it's return to the Website not to the test local server which is (http://localhost:xxxx/test.aspx)
So how I can test Facebook locally (i.e How I can change the callback url) ?
Facebook – How to Test Facebook Connect Locally
Related Topic
- Facebook – How to let Facebook Login button redirect to a particular URL
- Facebook – How to implement Facebook login into the website locally
- Android – How to i get Image Resource ID and send it to other activity in Android
- R – viewDidAppear Not Firing in Tabbarcontroller>NavigationController>UITableView
Best Answer
It's simple enough when you find out.
Open
/etc/hosts
(unix) orC:\WINDOWS\system32\drivers\etc\hosts
.If your domain is foo.com, then add this line:
When you are testing, open
local.foo.com
in your browser and it should work.