Facebook application day 2

by steve on November 7, 2007

Well in between other tasks today I’ve finally got my Facebook app complete and working on a public facing server that Facebook can see. Well, I think it’s working. I’m recruiting 3 or 4 friends to help test it first, but it’s out there if anyone stumbles upon it.

The main problems have been to do with the Facebook caching model. I understand why they need to do it, but it’s a bit of a nightmare to deal with at times. Eg. If you are going to post anything, such as an image, to the user’s Facebook profile, then Facebook will cache the image (so that they don’t serve up broken images). This means if you ever change the image, you need to get Facebook to recache it, or use a different filename. All possible, but another hoop to jump through.

One thing that I did get working is the ability to invite friends to use the application. This makes use of Facebook’s standard page to handle these requests - “multi_friend_selector.php“, so a little bit of code to pass the correct parameters in, and Facebook does the rest.

Comments on this entry are closed.

Previous post: Facebook - Anti Social Ads

Next post: Facebook continued