Eagle Eye Initial Release

I’ve released my Eagle Eye Wordpress plugin in case anyone else wants to play with it.

Download and installation instructions on the Code page.

Updated August 22, 2008 @ 20:00:

Fixed a couple stupid bugs that I really should have noticed before making this available:

  • Temporary directory for weather data was not being set correctly. Fixed.
  • Fire Eagle authorization was lost if session closed. Fixed.

Updated September 07, 2008 @ 21:30:

The 1.0 version is now available from the Wordpress directory and from here on out the most current version will be available there.

Tags: , ,

15 Responses to “Eagle Eye Initial Release”

  1. Hi, it seems like the redirect to Fire Eagle doesn’t work on my blog. I’m running wordpress 2.5. When I click on the Register Eagle Eye with Fire Eagle link, I just get a white page on the url plugins/eagle-eye/fe_redirect.php?f=start

    Tried it on firefox and safari. Hosted by one.com

    Tips?

  2. Trick says:

    Lemme take a look. I have a suspicion I know what could be causing that, and it’d fall into the “dumbass mistakes” category.

    Update: Nope. It’s not what I thought it was. My suspicion is that the “Location:” redirect header’s not redirecting like it should, but I can’t seem to get it to break here.

    One thing to check might be that the fe_config.php file hasn’t had anything added to it, like an extra carriage return at the end. That could cause some output to be sent to the browser before the Location header is sent, and might break the redirection.

  3. Frank says:

    By activating the plugin WORDPRESS shows me the message:

    Parse error: syntax error, unexpected ‘{‘ in /public_html/wp-content/plugins/eagle-eye/eagle_eye.php on line 95

    I’m using wordpress version Version 2.6.2

    Please help me out, I really like the plugin!

  4. Matt says:

    I am having the same problem as Frank and would love to use the plugin.

  5. Paul says:

    Same problem as the two guys above – would love to use your plugin.

    can you please please have a look?

    Cheers

  6. Justin says:

    Hello there,
    Love the plugin but cant seem to get it to work, I followed all the instructions but am now getting this error message.
    “Request to https://fireeagle.yahooapis.com/oauth/access_token?oauth_version=1.0&oauth_nonce=1d74f75622aba99b19e0f9ea23a5fc42&oauth_timestamp=1226343465&oauth_consumer_key=sReo5M2WoywO&oauth_token=dC3MmGCYsjct&oauth_signature_method=HMAC-SHA1&oauth_signature=iFiqzFdZChP48brhHtW8IbBExJo%3D failed: HTTP error 401 ( )”

    Any suggestions?
    Thanks
    Justin

  7. Trick says:

    Argh — sorry. Obviously been away from here for a bit, and it’s just as obvious I need to do some major code-tweaking.

    Going to try some major debugging this weekend and hopefully get a version out with the current issues resolved.

  8. James Emerton says:

    eagle_eye.php line 447, in the ee_onload() method, I believe the line:

    if($this->enableMap) {

    should read:

    it($this->useDynamicMap) {

  9. Loulou says:

    I’m on 2.7 and have the same prob than Morten Skogly: I can’t autorize fire eagle cause the link take me to a 404 page not found

    I can’t use your answer to resolve the prob cause I don’t understand it sorry, could you explain more pleasE?

    “One thing to check might be that the fe_config.php file hasn’t had anything added to it, like an extra carriage return at the end. That could cause some output to be sent to the browser before the Location header is sent, and might break the redirection.”

  10. John says:

    Hi there,

    Your plugin seems to do the trick for me – however, I’d really like it default to the Google Maps hybrid view. I can’t seem to see a configuration option for it – am I missing something?!

    If not, surely this’d be a quick implement?

    Cheers,

    John

  11. Dean Roskell says:

    I’m getting an error during the setup process:

    [code]
    Not Found

    The requested URL /wp-content/plugins/eagle-eye/fe_redirect.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    [/code]

    The file does exist in the directory and contains the following data:

    [code]
    getRequestToken();
    if (!check_fe_token($tok)) {
    echo "ERROR! FireEagle::getRequestToken() returned an invalid response.";
    }
    else {
    $_SESSION['auth_state'] = "start";
    $_SESSION['request_token'] = $token = $tok['oauth_token'];
    $_SESSION['request_secret'] = $tok['oauth_token_secret'];

    $callback_url = "http://" . $_SERVER['HTTP_HOST'];
    $callback_url .= "/wp-admin/plugins.php?page=eagle_eye.php";
    $callback_url .= "&f=callback";

    $url = $fe->getAuthorizeURL($token);
    $url .= "&oauth_callback=".urlencode($callback_url);

    header("Location: ".$url);
    }
    }
    }

    main();

    ?>
    [/code]

  12. Ben says:

    Hi,
    Just installed your plugin today. Good work! It is a fantastic addition to my blog!
    A few things, firstly, I had the same problem as a few of the people here. When I tried to click on the fire eagle redirect link, I get a ‘404′ error. Looking at the URL that your plugin generates I see that it used a different path for my Wordpress install. As soon as I hand tweaked the path to be where my blog is, it all worked Ok. So it was not a bad work around. Got me over the hump and up and running.
    Second thing, the street view was black. The map view was ok, but the street view never showed anything more than the street with arrows on it, and compass rose, the rest was pitch black. I changed the default size from 300 by 300 to be 300 by 350 wide, and it is all working now.

    Thanks again for the great plugin. Hope the comments help some others get it going.

    Ben

  13. sensiz asla says:

    thnnks , excellent

  14. lolikou says:

    Nice post. Do you like britney ? You can find Britney’s new Songs and MTVs at
    Britney Times

  15. brian says:

    On installation I get this:

    Parse error: syntax error, unexpected ‘{‘ in /hsphere/local/home/redbadge/[my URL...]/wp-content/plugins/eagle-eye/eagle_eye.php on line 95

    I really am looking forward to using this. Thanks for all the hard work.

Leave a Reply