iOS Apps integration

September 11, 2010

Everybody in the iOS world knows what the following line of code does.

[[UIApplication sharedApplication] openURL:url];

What’s a real pity is that big applications don’t use that as they should. I find myself many times having to quote an iOS application dedicating 30% or even more time to integrate with Facebook, Twitter, Foursquare. That’s crazy… APIs are not the solution, at least not web apis.

The real solution is callback methods.

I’d love to be able to put on that url something like

tweet://text=Hey, I like this blog!&fixedText=NO&callback=myApp://tweetedText={1}
facebook://like=This blog&commentAllowed=NO&callback=myApp://facebookLiked

Why can’t twitter or facebook provide with a real API that calls their app just to a job and come back? With multitasking on iOS it should be pretty easy to do.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: