How to search your Twitter DMs with Google Reader

Warning: this content is older than 365 days. It may be out of date and no longer relevant.

CC Chapman on Twitter said:

The problem with more and more conversations happening over DM is there is no easy way to search them

Which is more or less true in the native interface. Luckily, RSS comes to the rescue.

From the Twitter API:

direct_messages

Returns a list of the 20 most recent direct messages sent to the authenticating user. The XML and JSON versions include detailed information about the sending and recipient users.

URL:

https://twitter.com/direct_messages.format (requires authentication)

So here’s how you do it. Craft a URL like this:

https://username:[email protected]/direct_messages.rss

Copy this.

Updated: For DMs you have SENT: https://username:[email protected]/direct_messages_sent.rss

There’s a bug in the way either Twitter renders RSS or Google Reader interprets it. Not sure which, but you need to set up Yahoo Pipes as an intermediary to make everything and everyone happy.

Go to Yahoo Pipes and drag a Fetch Feed onto the worksheet. Paste the Twitter RSS URL there. If you’re doing DMs sent, add a second box under the first one and paste the second URL there.

Pipes: editing 'Twitter DMs'

Next, name it, save it, and run the pipe. Do not publish it or the pipe will be publicly viewable! Copy the Get as RSS URL.

Pipes: Twitter DMs

Now go to Google Reader. Paste in the Pipe RSS URL.

Google Reader (1000+)

Congratulations. Now all new DMs will be recorded by Reader and will be fully searchable from the search box.

Google Reader (1000+)

You’re done!

If you’d prefer all in one using GMail, you can also take the Pipes RSS feed and use any RSS to Email service (feedburner, feedblitz, etc.) and have your DMs emailed to you.

Update: If anyone knows how to implement this feature using OAuth rather than plaintext, please comment!


You might also enjoy:


Want to read more like this from Christopher Penn? Get updates here:

subscribe to my newsletter here


AI for Marketers Book
Take my Generative AI for Marketers course!

Analytics for Marketers Discussion Group
Join my Analytics for Marketers Slack Group!



Comments

11 responses to “How to search your Twitter DMs with Google Reader”

  1. This is awesome Chris. Well done. I have a sinking feeling that some noob is only go to half-read this and publish their DMs. <getting out the popcorn>

    Follow instructions carefully people.

  2. This is awesome Chris. Well done. I have a sinking feeling that some noob is only go to half-read this and publish their DMs. <getting out the popcorn>

    Follow instructions carefully people.

  3. Great job putting this together soo quickly! Very informative and now to work on it.

  4. Great job putting this together soo quickly! Very informative and now to work on it.

  5. This is great. First time playing with Pipes, but it's super easy – and no, Mike, I wasn't that noob! Thanks for the tutorial, Christopher.

  6. belchingmonkey Avatar
    belchingmonkey

    This is awesome Chris. Well done. I have a sinking feeling that some noob is only go to half-read this and publish their DMs. <getting out the popcorn>

    Follow instructions carefully people.

  7. belchingmonkey Avatar
    belchingmonkey

    This is awesome Chris. Well done. I have a sinking feeling that some noob is only go to half-read this and publish their DMs. <getting out the popcorn>

    Follow instructions carefully people.

  8. Great job putting this together soo quickly! Very informative and now to work on it.

  9. Great job putting this together soo quickly! Very informative and now to work on it.

  10. This is great. First time playing with Pipes, but it's super easy – and no, Mike, I wasn't that noob! Thanks for the tutorial, Christopher.

  11. This is great. First time playing with Pipes, but it's super easy – and no, Mike, I wasn't that noob! Thanks for the tutorial, Christopher.

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Shares
Share This