• 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 474 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 (24.3K 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

  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023
  • Simple Windows Security and Privacy Checklist for 2023 March 24, 2023
  • 7 Best Artificial Intelligence (AI) Software March 24, 2023

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, March 28, 2023, https://thecustomizewindows.com/2011/03/get-your-twitters-tweet-as-rss-feed-and-jsons-url-plus-widget-codes/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT