• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Get your Twitter’s tweet as RSS feed and JSON’s url plus widget codes

By Abhishek Ghosh March 20, 2011 10:44 am Updated on October 17, 2014

Get your Twitter’s tweet as RSS feed and JSON’s url plus widget codes

Advertisement

Unbelievable, right? yes, you have read rightly: Twitter’s tweet as feed as well as JSON.

Please Note : This is the old guide. Kindly do not follow this. Twitter has changed their API, so this will not work. Instead read our new guide - <a href="https://thecustomizewindows.com/2013/07/get-your-twitters-tweet-as-rss-and-json-with-new-twitter-api/" title="Read How to Get your Twitter’s Tweet as RSS and JSON with New Twitter API" target="_blank">Get your Twitter’s Tweet as RSS and JSON with New Twitter API</a>. You still can use the basic styling idea from this guide.

Here is my Twitter account’s RSS feed: http://twitter.com/statuses/user_timeline/193774020.rss

Advertisement

---

You have several questions, right? Here is the steps on how to get your Tweeter accounts tweets as RSS feed:

 

  1. Copy the url posted above (that is, my one).
  2. You need your Tweeter user id (number, not the username). For this, go to idfromuser and get your Tweeter id.
  3. Replace my number part of the url with yours. That is: / user_timeline / (put your Twitter id here) . rss
  4. If you change the .rss with .json; you will get the JSON too. JSON can be used for Ajax call function. You will get a working example of such Ajax JSON callback function usage here: AbhishekGhosh.co.nr
  5. If you are further interested to create such Ajax tweeter widget of your own, here are the codes:

 

You need to define your CSS style sheet. For WordPress, put it in your main CSS style sheet. For Blogger, add at the end of the HTML editor where is last CSS code already exists:

 

}

.tweets {
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
background: url(“url of background with extention”) no-repeat scroll 1px -12px #EBF5F9;
border: 1px solid #B1D7E7;
clear: both;
float: left;
margin-top: 3px;
padding: 10px 10px 10px 50px;
width: 390px;
height:48px;

}

.tweets ul {
list-style:none;
margin:0;
padding:0;
}

 

 

Now, the HTML part. You can use as Text Widget in the sidebar too. Background image means that Twitter bird, something like my test profile page. Here is the birdie too (right click to save it): Twitter's tweet as RSS feed

We are giving it as div class for usage anywhere within the body:

 

<span style="color: #00ff00;">&lt;div class='tweets'&gt;</span><span style="color: #0000ff;">&lt;ul id='twitter_update_list'&gt;</span><span style="color: #99cc00;">&lt;script src='http://twitter.com/javascripts/blogger.js' type='text/javascript'/&gt; </span><span style="color: #800080;">&lt;script src='http://twitter.com/statuses/user_timeline/<span style="color: #ff0000;">put your user id here</span>.json?callback=twitterCallback2&amp;amp;count=1' type='text/javascript'/&gt;</span><span style="color: #0000ff;">&lt;/ul&gt;</span><span style="color: #00ff00;">&lt;/div&gt;</span>

 

I have given the Twitter javascript of Blogger.  It will work for WordPress too (tested). In WordPress or Blogger, if you add within the header, footer or comment part, it will appear in all pages.

Note: I have set count=1 ; that will show the last tweet. You can change it to any value (=number of tweets) you want.

Signature Tagged With %s=url-plus , Twitter JSON Feed

This Article Has Been Shared 223 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Get your Twitter’s tweet as RSS feed and JSON’s url plus widget codes

  • Customize the logo of your WordPress login page : second method

    Want to customize the logo of WordPress admin login page? This is possible by inserting a few lines of code in the functions.php file of your theme. Finally, a website that is more professional and close to your brand.

  • Pressed text effect with Photoshop and CSS

    Pressed text effect, becoming more and popular these days. You can create pressed text effect by two methods: graphically by using Adobe Photoshop or by using CSS codes.

  • Customize blockquote using CSS and graphics in WordPress

    Blockquote should reflect the personality of the blog site writer. It looks nice when it is customized to reflect the brand of your blog or simply to add an effect of quotation mark.

  • Editing Blogger’s theme template to have some features like WordPress

    We will discuss about editing the one page template (that is xml file) of Blogger to get your SEO optimized Blogger template which will have most effective SEO features.

  • How to get different theme for different category in WordPress

    You might want to use different theme for different category in your Wordpress blog, here is how you can apply so.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. AvatarThundaboom says

    June 23, 2011 at 5:19 am

    Wow, thank you. Seriously. Ever since twitter’s replaced RSS with oAuth, it’s been a pain trying to figure out how to get the RSS feed regardless before I found this article.

    Congrats to you for finding this!

    -Justin

  2. AvatarKevin says

    August 15, 2011 at 6:10 pm

    THANKS!

  3. AvatarShreeya says

    October 17, 2011 at 12:50 pm

    Thats awesome!..thanks a lot for this. I had one more doubt if we can see the trending items related to any specific search evrytime i login to the page?

  4. AbhishekAbhishek says

    October 17, 2011 at 1:48 pm

    Thank you very much and welcome.

    Yes, you can do that filtering by creating an app with Twitter API (https://dev.twitter.com/).

  5. AvatarJames says

    December 14, 2011 at 8:27 pm

    Thank You! Will be using this on my site.

  6. AvatarCharlie says

    August 13, 2013 at 11:47 am

    This doesn’t work any more (post June 2013). This Twitter user RSS tool will let you get an RSS for a user.

  7. Avatartwitter tools says

    October 29, 2013 at 2:21 pm

    Excellent, what a weblog it is! This web site provides useful data to us, keep it up.

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • The Cost of Doing Business as a Handyman July 1, 2022
  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022
  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Get your Twitter’s tweet as RSS feed and JSON’s url plus widget codes," in The Customize Windows, March 20, 2011, July 1, 2022, https://thecustomizewindows.com/2011/03/get-your-twitters-tweet-as-rss-feed-and-jsons-url-plus-widget-codes/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy