A Django HttpRequest QueryDict is not your normal Python dict - i.e. getting ids from a friend request-form

Doesn’t work:
ids=request.GET['ids[]‘]
Does work:
ids=request.GET.getlist(’ids[]‘ ;) A typical Facebook friend invite sends the ids to be invited to your site as an array in ‘ids[]‘. Normally, you can pull values out with just request.GET['key']. But since the value of this particular key is an array and not just a string, you can’t (at least I wasn’t able to) just [...]

Potential facebook app success story

I think whereivebeen is far, far over 250,000 users. It’s successful. The problem is getting it to at least pay for itself. I haven’t seen an update past what is here though. I know some ads were put in and they aren’t obnoxious or anything so as a user I am fine with them. But [...]

Textmate and FBML… Eclipse/Aptana anyone?

I sure wish there was something like this for Eclipse and Aptana! Perhaps this could be a start? Here’s to hoping…!
Facebook Platform Developer Forum / TextMate FBML plugin
Put together a start of a TextMate Bundle for Facebook. Does some cool stuff, like code completion and doc lookup. If anyone wants [...]

Neat little Facebook snippet for Django

You can use this to set up a Facebook User within you Django app. This of course uses the middleware which is optional as described here.
Django snippets: Little middleware that create a facebook user

Install **PyFacebook** package.

After make all steps in tutorial above, put this code in your [...]

Reduce Django facebook server load

So say you have a Facebook app and it runs on Django. Standard practice is to load the middleware. Middleware by default adds a bit of overhead. It’s needed for some bits but completely unnecessary for anything that doesn’t need it. This is one way to take it out if you feel the need for [...]