Post and Read via Twitter API

The other day I talked about micro-blogging and mega-blogging and shared my view that new forms of social media, including micro-blogging, are complementary to blogging. We’ve seen ongoing growth at WordPress.com as people started using Twitter, and we expect that to continue.

Of course one of the coolest things about Twitter right now is the client applications, particularly the mobile/iPhone ones. I use Tweetie 2 on my iPhone every day. Wouldn’t it be cool if you could get all your blog subscriptions and post to your WordPress.com blog from apps like Tweetie? Well here’s an early Christmas present…

We’ve enabled posting to and reading of WordPress.com blogs via the Twitter API. Any app that allows you to set a custom API URL will work. This project came out of our Quebec meetup and was developed by Team 55 (Andy, Terry, and Raphael).

For this walkthrough we’ll use Tweetie 2. To get started, launch Tweetie 2 and click the “Accounts” button. Then press the “+” button to add your WordPress.com account. Enter your WordPress.com username and password, and click on the gear icon under the password field.

For API Root, enter: https://twitter-api.wordpress.com/ and then click the Add Account button. (No search API… yet!) Save this account and after your information is verified you can start posting to your WordPress.com blog from Tweetie 2. (There’s more detailed info about setting up your WordPress.com profile to work with the Twitter API in our Support doc.)

Here’s what it looks like when I read WordPress.com blogs I’ve subscribed to in Tweetie.

You can write a status update and post to your WordPress.com blog and also have it displayed in the blog reading view.

If you’ve enabled geotagging for your posts, the geolocation data gets exposed as well. You can change what blog the posts go to under your profile.

APIs are Biz Dev 2.0, as Caterina Fake put it, our ability to connect Tweetie 2 to WordPress.com proves this out. We didn’t have to talk to Loren Brichter because he built custom API support into Tweetie 2 — thanks Loren! (As an aside, I’d love to see custom API support added to TweetDeck and Seesmic, my two favorite desktop Twitter clients.)

There are still some rough spots around the edges but the core posting and reading bits of the API are solid and the rest is coming soon. I see the Twitter API as one of the new de facto standards that as many applications should support as possible. (Amazon S3 API too, why don’t all cloud storage providers use that?) We’ll be open sourcing the server as a WordPress MU plugin, so that other people can take advantage of our work and benefit their readers and communities.


Missing out on the latest WordPress.com developments? Enter your email below to receive future announcements direct to your inbox. An email confirmation will be sent before you will start receiving notifications - please check your spam folder if you don't receive this.

Join 62,926,955 other followers

152 Comments

Comments are closed.

  1. empowermaui

    Tweeting is twa way two go.

    Like

  2. tbytecomtr

    Thanks for this information, it is very useful.

    Like

  3. datchickneeks

    Ahhh another amazing blend between my 2 favs: My Twitter and My Blog!

    Like

  4. cgleek

    Great, as if I need one more reason to be attached to my iPhone. Amazing work, folks!

    Like

  5. janole

    Any chance that thist API will support JSON?

    Like

  6. blogturtle

    simply brilliant!

    Like

  7. systemed

    this sounds awsome except i only have tweetie on my iphone and can’t find out how to configurate 😦
    does this mean i need to update to tweetie 2 or change for another app ?
    thanks …

    Like

    • Ryan Markel

      You’re correct that not all Twitter clients support this type of connection, though we hope more will in the future. You will need to upgrade to Tweetie 2 to use this. (You’ll love it. It’s a great upgrade.)

      Like

  8. Pingback: Ben’s Tech Show – Ep #63 – Kickin it with the Zune guys. | Ben's Tech Show
  9. vpmaravan

    I am loving it

    Like

  10. elizabethkakepetum

    I just started on my blogging and I have to learn more about it.The thing I’m most interested in is hockey. Every chance I get I’ll watch a game.I hope a canadian team will win the Stanley cup this year.

    Like

  11. Benedetto

    This is a very useful information. Thanks you all!

    Like

  12. Pingback: Rebooting the News # 37 « Rebooting The News
  13. sgaffney

    Is there an e.t.a. on when this may work with self hosted mu sites?

    Like

  14. cliffwms44

    I’ll tweet and twott an facebook till I can’t hadle it no more!

    Like

  15. Pingback: Twitter, It’s Time to Open Source Your API | Stay N' Alive
  16. igorhermontvieira

    like new ways to communicate.

    Like

  17. sooea

    l love it

    Like

  18. XtremelySocial

    Matt, this is a VERY cool feature you’ve added. I wrote a Facebook app called My Status that lets you update your Facebook and/or Twitter status at the same time. It also shows FB status history as well as your Twitter friend timeline, personal timeline, public timeline, etc. Tonight I’ve tested adding WordPress.com support to it. I have it reading the posts just fine, but am getting a blank response (no error message!) when attempting to update (write) a post. The request URL is $request = ‘https://twitter-api.wordpress.com/statuses/update.xml?status=’.urlencode($comment_text);

    Also, does your API allow unlimited characters or does it force a 140 character maximum? I’m hoping it supports unlimited characters. I would also like to see it include post comments in the timeline. It would also be cool to allow posting to multiple wordpress.com blogs by adding a new parameter to let you specify the blog name. I know Twitter apps won’t support that out of the box, but apps could take advantage of that feature specifically when the WordPress.com API is called. You could probably even use the new Twitter List API to return a list of a user’s blogs.

    Like

  19. Pingback: The JISCPress Prototype Demonstrator Platform « JISCPress
  20. Pingback: Scripting News: How open standards are created. — Jamie Forrest
  21. drenergysaver

    sweet, i love it… thanks

    Like

  22. mike3k

    When will this be available as a plugin for self-hosted WordPress blogs?

    Like

  23. patsyoverton

    I just got my iPhone last night, so I’m not sure I’m ready for the advanced stuff yet. Maybe by this time tomorrow?

    Like

  24. Pingback: Tweet to wordpress or tumblr blog, Use the twitter API/protocol? » Victus Spiritus
  25. Pingback: Twitter API: a new standard? | Tony Scott
  26. Pingback: links for 2009-12-18 (Jarrett House North)
  27. Pingback: BlogBuzz December 19, 2009
  28. Pingback: How open standards are created | BlogTheBrain News Source
  29. Pingback: Developers, It’s Time to Open Up Twitter’s API | Stay N' Alive
  30. scidrew

    Man I’ve never seen stuff like this. Cool!!

    Like

  31. Pingback: Un Tweet Salvera’ il Mondo « MadBob
  32. Pingback: Twitter API & Wordpress « Ken Gegeben's Blog
  33. yanares

    try to use

    Like

  34. Pingback: Post on Wordpress through Twitter API « Design Melodrama
  35. Pingback: Towards a web of activity streams realizing the synaptic web paradigm « web2society
  36. Pingback: The (De) Construction Of Twitter – Educer
  37. 4th Soul

    Don’t have a mobile phone…but the development sounds great!!!

    Like

  38. rollmops

    Very interesting feature! But as i am using my HTC Hero out on the streets, is there any Android client which is capable of using this API? Maybe Seesmic…? Does anyone know?

    Like

  39. deirdrea

    This is very cool! I’ll definitely have to check it out, when I have time.

    Like

  40. navedz

    Hey cool stuff. Though not a big fan of twitter… but should be of good help for people who publish tweets religiously.

    Like

  41. rjmancuso

    Any update on the MU plug-in. It will be really awesome to use especially with the P2 theme, it will almost be like setting up your own Twitter with application support.

    Like

Create your new blog or website for free

Get Started

%d bloggers like this: