Tag Archives: facebook apps

Live from Barcamp – Day 2 – Session 5 [for me] Facebook apps 101

Presenter: Sandro Turriate

Whoa! – a real presentation with slides and everything!
The paraphrase:
Sandro new to facebook, relatively.
It’s a platform — you write plug-ins
It’s viral.  There is some funding happening, it’s easy to install.

3 steps to app interaction:
1. Facebook contacts appserver
2. App server uses facebook api
3. App server sends response

Sandro wrote a haiku sharing app: “Global haiku”

Your web app can use facebook api to update fb users’ profiles.

How do people find your app – through mini-feed and news feed — also goes into the master list of applications

Getting started:
Install developer facebook application — get from developer.facebook.com — let’s you add applications and check usage, etc.

Lengthy form to fill out to be allowed to develop apps.  you get an API key, a secret key and you have to provide a callback URL — you host your application.

Facebook makes a call back to your url : apps.facebook.com/yourapp – maps to a url on your server

Where does app live:   Facebook caches the info stored in peoples’ profiles, and the callbacks, but the rest is in your world

Facebook, has an idea of a “canvas page” – this is the area for where your application responses get rendered within facebook.   Options for presenting information fbml or iframe — iframe gives you complete control — more cpu intensive – makes more calls to facebook – more bandwidth heavy.  FBML – facebook markup language — special tags from Facebook that facebook will automatically process.  less overhead in using fbml.
There are other things you can access like sidebar feeds, special boxes, things that live within the profile.

Accessing css:  you can do inline styles as attributes or declare style in top of your code.  You can reference an external style sheet through an fbml tag.

Gotchas: Some fbml tags won’t allow random html – didn’t render correctly
<fb:editor> easy to write – but hard to customize
<fb:redirect> useful after POSTs

500 errors — not pretty, not much info.  Anytime you are looking at a facebook app you can view source and see all html rendered (for developers only)

All decision processing happens on your server all input and output happens on facebook.

Posted in Barcamp Atlanta, facebook | Also tagged , , , | Comments closed

Live from Barcamp pt. 3 — Facebook apps.

This session is packed!  Had to move to a bigger room.  speaker [Ididn’t get his name ]   is going to show a flickr app he is working [ speaker is Chris Martin gcjmartin@gmail.com]  – [sorry for the messy posting – typing and listening]
The blow-by-blow:

Shows his Facebook profile – has numerous plug-ins app.   Wanted to bring more value to the photo sharing experience, so modeled on pre-existing facebook photo app.  Loads photos from Flickr and pulls them into his facebook app – all metadata is coming from flickr.
Using Facebook as a data store — cross posts comments, etc between both environments.

Info on http://developers.facebook.com

Next generation apps — finding socially useful applications.

What are the tools for developers:  Programming whatever language you choose,  — He wrote his stuff in PHP.  It is a big API — all code sits on your own server.  You can write in but you have to putput FBML [facebook markup languageng]  also fql — Facebook query language.  Client libraries for various platforms and languages.

The demo app they give you shows the most restrictive process possible with Facebook.

You spit out markup that Facebook runs through an interpreter before it gets presented to the end user.

Posted in Barcamp Atlanta, facebook | Also tagged , , | Comments closed