Archive for August 30th, 2009

30
Aug

Posting to Facebook

So let’s say you have a client who wants to post to Facebook from their iPhone application. You could probably find on your own the official SDK here,

Facebook Connect for iPhone

but here’s a few additional resources to help you along:

RaddOnline: Using Facebook Connect for iPhone tutorial is a nice introduction if you’re completely new to this Facebook app creation thing. (Or to Facebook, period, like those of us who actually do useful things with our time…)

Mobile Orchard: Marketing In Code, Part 1 is worth a gander to judge its claims about Facebook being an effective marketing method –

One status update or feed story to 13 average Facebook users users generates the same exposure as spending the entire post-commission revenue for one app priced at the average of the top-100 paid apps.

– but Part 2: Setting A User’s Status In Facebook From An iPhone App is where the step by step instructions are, along with a set of helper classes that can be found on github.

Posting Links to Facebook Profile from iPhone Code shows how to elegantly — excessively elegantly, even the author suspects:

I guess that’s precisely the thing: there is just so much code there for such a little thing! Two levels of delegation, six separate files, and so on. It’s hard to escape the feeling that we let some unnecessary architecture astronautism enter our heads when doing this.

extend the MobileOrchard helper classes from immediately above to deal with the Links.post Facebook API.

and if the above doesn’t sort you all out and you need to ask a question, this is probably the right place:

Facebook Developers Forum >> Mobile and Handheld

So there you go: all you need to get your Facebook integration nice and smooooooth, we trust!