Display Tweets in Your Posts with Tweet Freezer

There are many reasons why you would need to show off some tweets in your blog posts. You might want to do so while…

  • Writing reports of any events that was extensively covered by live tweets.
  • Sharing a funny story from twitter where you might have to show some tweets.

Reasons could be plenty, but how will you do it? Binny V A presents the app that you had been waiting for. (You might remember him, he is the one who did 13 WordPress plugins in 13 days)


First let me show you an example. This is a piece of the conversation I had with my friends from Twitter Coffee Club.

@Sudh4: Memoirs of a Phenomenal Easters Eve – http://goo.gl/UTuf by @ArunbasilLal #coffeeclub
at 01:59 AM, 03 Apr 2010

@VENKSH: @arunbasillal dude v should bring back the #hashtag again wat say.. @Sudh4 @cheth @rM1L #CoffeeClub members get ready for funn again..
at 11:44 AM, 04 Apr 2010

@Sudh4: @VENKSH Haan bring bring.. I’m gonna b busy n mostly offline frm nxt sat :D @arunbasillal @cheth @rM1l #coffeeclub
at 11:51 AM, 04 Apr 2010

@ArunBasilLal: @VENKSH Well, someone has to invent a twitter app for my mobile then :Phttp://u.nu/8cn38 #3310 (cc: @sudh4) #coffeeclub

at 11:55 AM, 04 Apr 2010

@Sudh4: @VENKSH Have to buy a new mobile then.. can tweet from Arjun’s but he’ll not give me :P @ArunbasilLal #coffeeclub
at 11:58 AM, 04 Apr 2010

@VENKSH: @arunbasillal he but u tweet via text dude. u need 2 send it to some number that depends on service provider @Sudh4 @cheth @rM1l #coffeeclub
at 11:58 AM, 04 Apr 2010

@Sudh4: @arunbasillal Sometime u tweet from mobile na? :) Then that’s ur neighbours kya? :P @venksh #coffeeclub
at 12:00 PM, 04 Apr 2010

@ArunBasilLal: @VENKSH Wish I had GPRS, Tweeting via SMS is not that fun, you have to type in all those weird usernames :P #coffeeclub
at 12:04 PM, 04 Apr 2010

Without further ado, here comes the app:

Tweet Freezer

Tweet Freezer asks you two questions in the normal mode.

1. What should it search for to freeze. This is where you enter the search term, like the hash tag of the event you are writing about. In the above example, I used the search term #coffeeclub, we often tag all our chit chat with the same tag.

2. The list of users whose tweets you would like to display. This is an optional field. Enter the list of usernames (comma separated without spaces in between).

Tweet Freezer Screen Shot (click for full view)

Tweet Freezer - Note the More Options Box (click for full view)

The Show More Options link gives you options to edit the default format of the output, or tell the app only to fetch tweets after a particular tweet (then you have to give the tweet id) or after a specified date.

Using Tweet Freezer

Tweet Freezer is easy to use.

  1. Enter the search term, and the optional fields depending on your purpose. Click Fetch Tweets. The page will reload with the tweets.
  2. View the source code of the page. IE users: Right click -> View Source. Firefox Users: Right Click -> View Page Source. Other Users: Go play.
  3. Scroll down until you see a solid line of hash. What you asked for is in between the solid hashes. Refer image. Copy the code in between the hashes.
  4. Go to the HTML View on the post editor of your CMS. Paste the code you copied in step 3 to the place where you need it. Yeah, it looks good ;)
Solid Hashes

Solid Hashes - Copy Code between the Green Lines

Styling the Output Tweets

Each Tweet fetched is included in a class named tweet. You will have to add the following css to your stylesheet, style.css.

.tweet {
border-bottom:1px dashed #999;
clear:both;
}
.tweet img {
float:left;
}
.tweet p {
margin:10px 5px 5px 55px;
}

You might have to modify some values depending on your blog’s layout.

If you have any issues, ping @BinnyVA or leave a comment. Make good use of Tweet Freezer.



You May Also Like To Read:

  1. Twitter tools to find Location and Time of a tweet
  2. Easily Backup All Your Tweets Offline
  3. 7 Tips to Live Tweet an Event Effectively
  4. Drive Traffic To Your Blog With Every Tweet
  5. 7 Secrets to Great Conversations on Twitter

This entry was posted in Pro Blogging and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

For More Like, "Display Tweets in Your Posts with Tweet Freezer"
Grab the Feed or,

5 Comments

  1. Posted April 7, 2010 at 23:01 | Permalink

    Nice tutorial Arun, thanks for the same.

  2. Posted April 8, 2010 at 09:01 | Permalink

    Great app ! :D
    And thanks for the tutorial, well explained :)

  3. Posted April 8, 2010 at 14:52 | Permalink

    Nice work, Thanks for this tutorial.

  4. Posted April 14, 2010 at 09:04 | Permalink

    kewl

  5. Posted April 14, 2010 at 14:16 | Permalink

    Thanks guys, glad you all liked it :)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Get Free Updates