OpenFlights

News from OpenFlights, the site for flight logging, mapping, stats and sharing


9 Comments

Facebook application changed, your action required to keep posting flights

Recent changes inside Facebook have broken the existing OpenFlights Facebook application‘s ability to  post recently added and/or today’s flights to your Facebook Wall.  To fix your copy, please go to this URL:

http://apps.facebook.com/openflights/

Right below “Step 1″, click on the link entitled “Grant permission to publish posts”, click on “Allow publishing” in the dialog that pops up, and then click one last time on “Update preferences”.  That’s it — and as a complimentary bonus, the flight map posted to your profile should now always be up to date.

Geek version: Effective today, Facebook has discontinued the old “template bundle” functionality, which used the offline_publish permission.  We’ve replaced it with stream publishing, but to work this requires the separate stream_publish permission instead.  In addition, we’re now calling fbml.refreshImgSrc after all profile changes to make sure the dynamically generated map is refreshed as well.

As always, the Facebook application code is available in the OpenFlights SVN, take a look if interested.  index.php is the core application, while updater.php is a standalone command line app that handles Wal updates.

Unbundled and streamlined,
-jani