: How to check if your website is trending? I am building a admin stats dashboard for my website. I would like to show on it an indication when an article from my site is trending (gone
I am building a admin stats dashboard for my website. I would like to show on it an indication when an article from my site is trending (gone viral) on Facebook or Twitter.
My understanding is that Facebook and Twitter have trending feeds. How can I programatically access these trending feeds so that I can check to see if my website is listed on them?
More posts by @Moriarity557
1 Comments
Sorted by latest first Latest Oldest Best
It's a formulae. You take the number of hits in period X and the period before X, and if it increased, it's trending.
Ofcourse, this is very simplistic. You should expand this to a few periodes, in which it should grow, and it should be over some threshhold (because going from 1 to 3 hits in 300% increase, but not trending).
The length of a period, or the number of periods you need to check varies on the type of website and number of visitors/activity (high activity = short periods).
Also, take the creationdate into account, the last-activity-date, etc. Think of all the thinks that could be relevant, and form it into the formulae. There is no default function for that.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.