Getting user location on Facebook page tab
Coca-Cola seems to have nailed it pretty well. Even before any user interaction, they manage to know where you are at their Facebook page : This works in IE, so no HTML5 involved (and after all, Facebook won't recognize the navigator object in Javascript). How do they do this? First of all, I don't think it can be done using javascript. Here's how you can do it using a server side language, like PHP. If you take a closer look of the page you provided (coca cola landing tab) you can see that selection of the country works even if the user is not logged in with facebook. When you set up a