Advertise here


Tag cloud


Posts Tagged ‘twitter’

Create your twitter feed using json

Posted on Monday, May 23rd, 2011 in Web Development

This is carrying on from a previous post Twitter Feed using JQuery JSON. Originally, I just used JQuery JSON method to query the Twitter API which got essential bits of a user profile and their time line. It only returned the latest ten results which is sufficient enough with the nature of twitter, tweets get old quick but some are worth checking again. With the Twitter API there is no guarantee to get the exact amount of tweets you requested. What is new in this revised edition of the twitter feed is it will now take the tweets and save a local version of it. This has plenty of benefits like quicker response when querying, view older posts, improved usability and you can customise the output how ever you like.

Here is a list of what is new:

  • Store the tweets locally
  • Pagination, to view older tweets with side shift animation
  • See if a post has been retweeted
  • The feed has an expiry date of four hours to update with new tweets

Read more


Twitter Feed using JQuery JSON

Posted on Monday, May 2nd, 2011 in Web Development

TweetLogoThe Twitter API allows you to access tweets, profile information and more. It has a couple of return types of data, I will be using the JSON format. If you are accessing the tweets that belong to a profile you don’t need authentication unless they are protected. In the documentation it will tell you if authentication is required to access certain data.

I will show you how to create your own Twitter Feed using the Twitter API and JQuery $.getJson() method. I have also added in some other functions to, for the date to convert it to “real time”. Instead of giving a time stamp it now can say, “a minute ago” or “1 hour ago” or ” 1 day ago” and so forth. Find text links and actually turn them into click-able links which open in a new window. Read more



Web Design Essex | Richard Kotze – Web Technology, Design and Development powered by WordPress | Entries (RSS)