Update your FireEagle location automatically from any browser
[caption id=”attachment_1232" align=”alignright” width=”54" caption=”The best way to update FireEagle”]
With all the talk of geolocation in the browser, I decided this afternoon to go ahead and make it really easy for anyone to automatically update their location in FireEagle by going to a single url from any browser. Depending on the capabilities of your browser it will use various technologies to determine your current location:
- Firefox 3.5, iPhone: HTML5 Geolocation API
- Android and other browsers with Gears: Gears Geolocation API
- Other browsers: Google Client Location based on IP address
Simply go to BrowFire and it will first get authorization from FireEagle for me to update your location. I only store the OAuth credentials in your own cookies so there is no server-side storage of your location or even the ability to later update or read your location without you revisiting the site. After I get your authorization to update your FireEagle location you need to return to the site and I will either automatically update your location using your IP address or ask you for permission to use more accurate location information from one of the other sources you might have available in your client. It will not ask you again for authorization for 28 days.
P.S. If you find some combination that doesn’t work as you would expect please say so in the comments (and then send me a pull request for your changes :) )