I am trying to make a website that displays social counters displaying the current followers for each social media account, which I have achieved using https://github.com/juanv911/SocialCounters.
However, my next problem is how can I store these follower values, at regular intervals (once a day?) into a MySQL table, so that i can use them to make a line graph (which i have working, but with static values i entered into the table).
Html:
<a class="item twitter"><i class="fa fa-twitter"></i><span class="count"></span>Followers</a>
<a class="item google"><i class="fa fa-google-plus"></i><span class="count"></span>Followers</a>
<a class="item facebook"><i class="fa fa-facebook"></i><span class="count"></span>Likes</a>
<a class="item youtube"><i class="fa fa-youtube"></i><span class="count"></span>Subscribers</a>
<a class="item instagram_sandbox"><i class="fa fa-instagram"></i><span class="count"> </span>Followers</a>
<a class="item pinterest"><i class="fa fa-pinterest"></i><span class="count"></span>Followers</a>
JavaScript:
I cant post here because of the minimum of 10 rep or more to post multiple links which it calls, but http://www.juanvargas.net/SocialCounters/js/api.js
To give you an idea of what im trying to do, here is a pic
Any examples would be appreciated as I have limited experience.