Fire Eagle OAuth V2.11

Here's a little JavaScript Library and Testing Environment for making OAuth Calls to Fire Eagle.

To get started you will need to:

  1. Use sha1.js and oauth.js from code.google.com
  2. Get OAuthExt.js and fe.js from us.
  3. Simply include all 4 files in that order using <script> tags.
  4. Construct in JavaScript the Fire Eagle class like var fe = new FireEagle(consumerToken, consumerSecret) and have fun. For now, check out the methods in the fe.js class for more details.


Try it!

Here's a simple example page which walks through the OAuth proceeder and makes a few user calls.

Global Required Settings

Consumer Key: Consumer Secret:

OAuth

Request Token URL
OAuth Step 1.
See URL

User Auth URL
OAuth Step 2. Take the token from step one and authorize the user.
oauth_token:
See URL

Access URL
OAuth Step 3. Take the token and secret from step one and get the access token and secret. You will need to use these for the API calls, so you will want to store them somewhere.
oauth_token: oauth_token_secret:
See URL


Fire Eagle API

API Required Settings

oauth_token: oauth_token_secret:

User-specific Requests
Use the token and secret returned from step three (that you saved somewhere) to make the API calls.

/user
See URL via: XML JSON

/update
Postal:
See URL via: XML JSON
POST it via: XML JSON

/lookup
Address:
See URL via: XML JSON

General-purpose Requests
CURRENTLY UNTESTED
general_purpose_token: general_purpose_secret:

/recent
Time: optional
Count: optional
See URL via: XML JSON

/lookup
Address:
See URL via: XML JSON

/within
place_id: optional
woeid: optional
See URL via: XML JSON