Twitist Forums
How twitter calculate trend? - Printable Version

+- Twitist Forums (http://twitist.com)
+-- Forum: Twitter forums (/forum-1.html)
+--- Forum: Twitter Trends (/forum-7.html)
+--- Thread: How twitter calculate trend? (/thread-112797.html)



How twitter calculate trend? - Suraj - 03-24-2014 04:16 AM

Twitter brings top ten trends on Home page. But how they calculate that? Is it on daily basis or weekly basis? If one hash tag is created one month before and till today it has 15000 twits but on specific day it got less twits (example 1000) and another hash tag created today and it has 2500 twits on that day.
So which trend come first?


- Alankrit - 03-24-2014 04:31 AM

actually they use javascript ..
For each '#' tag ...
the website automatically declares a variable ...
the count of which is equal to 0...
for every next time same, '#' tag is found ... it increments to one...
for example for each same '#' tag...
variable=variable+1;
initially
variable was 0;


- Karen - 03-24-2014 04:42 AM

Hope following url will help you:

http://www.npr.org/2011/12/07/143013503/how-twitters-trending-algorithm-picks-its-topics