twitter | x-callback-url http://x-callback-url.com Interapp communication Thu, 21 Apr 2011 18:42:42 +0000 en-US hourly 1 https://wordpress.org/?v=5.8.4 A call to iOS Twitter client developers! http://x-callback-url.com/2011/04/105/ http://x-callback-url.com/2011/04/105/#comments Thu, 21 Apr 2011 18:04:19 +0000 http://x-callback-url.com/?p=105 With Instapaper’s x-callback-url support available, I hope people will start to see some of the cool possibilities for more complex handoffs between iOS apps. The next big thing I’d really like to see is for Twitter clients to extend their URL schemes to support x-callback-url, particularly to allow the user to jump over to post […]

The post A call to iOS Twitter client developers! first appeared on x-callback-url.]]>
With Instapaper’s x-callback-url support available, I hope people will start to see some of the cool possibilities for more complex handoffs between iOS apps. The next big thing I’d really like to see is for Twitter clients to extend their URL schemes to support x-callback-url, particularly to allow the user to jump over to post a tweet, and then be returned to what they were doing in their original app.

Most of the major iOS Twitter clients already support incoming URLs for status updates. For example, if you want to send a status update to Twitteriffic, just call:

twitterrific://post?message=Message%20Text

For Twitter:

twitter://post?message=Message%20Text

This is strictly a one-way call, however. Why not use x-callback-url to allow passing a return callback for after the user edits and sends the tweet. For example:

[targetAppScheme]://x-callback-url/post?message=Message&
  x-source=[SourceAppName]&
  x-success=[sourceAppScheme]://x-callback-url/tweetPosted

NOTE: arguments should be URL encoded, but were not for legibility.

This could work very much like the existing support in the Twitter app, opening the compose window with the text pre-entered — but after the user taps “Send” and the tweet is successfully posted, fire the callback URL and return the user to where they started.

With this sort of support available, it would be easy for apps to add “Share” functionality that lets their user take advantage of the accounts their users already have setup in their Twitter client, along with all the great composing tools, without forcing the user having leave their app with no clear way back.

If you think this is a cool idea, contact the developer of your favorite Twitter client and let them know. And tell them we’d be happy to help with testing!

The post A call to iOS Twitter client developers! first appeared on x-callback-url.]]>
http://x-callback-url.com/2011/04/105/feed/ 7