Have a Twitter client? Here's how to integrate with Boxcar
First, you'll need to add a custom URL for your application. That's what we use to automatically open it. For help doing this, be sure to read through this excellent article on Launching Your Own Application via a Custom URL Scheme at iPhone developer:tips.
After you've done that, you may want to add even deeper integration with Boxcar. We can currently open 6 different URLs, depending on the context of what the user is receiving. We are also able to pass in the screen name of the account for all URLs except the search URLs.
- The users timeline.
- The users @mentions.
- The users retweets.
- The users direct messages.
- A search screen.
- A search screen with the query already filled out, escaped using: stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding.
An example set of URLs, provided by the most excellent Twittelator client, are:
- Timeline: twit://
- Mentions: twit:///mentions
- Retweets: twit:///retweets
- Direct Messages: twit:///directs
- Search: twit:///search
- Search with Query: twit:///search?q=escapedPayloadHere
As always, if you have any questions, please don't hesitate to post in the user forums for developers. After you have your URLs in place, and your application has been accepted into the app store, just drop us an e-mail or post in the developer forums and we'll add you to our official Twitter client list.