I am working on a twitter application where i want to show all trend in word cloud. but i don't know how to use word cloud and which api i will use for twitter to do this.
I want like thisExample.
Please help me for this.
I am working on a twitter application where i want to show all trend in word cloud. but i don't know how to use word cloud and which api i will use for twitter to do this.
I want like thisExample.
Please help me for this.
Using the twitter api you can get current trends, ie: http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-trends-current
You'll probably want to have a look at the documentation at http://apiwiki.twitter.com/Twitter-API-Documentation
Basically to generate a tag cloud you need a list of words and their frequency. Twitter API does not provide you frequency of a term(word) as API result. So, you will have to get current trends from twitter API, store them locally and calculate the frequency of each term.
Simple and easy way to do this would be to query the trends/daily API which returns trending topics (by each hour) for a given day. Accumulate the terms from API result and count their frequency. I guess drawing the cloud using this list of words & frequency would be an easy task.
I hope this answers the question. But if you want something complex, you will have to monitor & process tweets using search,streaming API.