How can one write code in MYSQL workbench that will gather data from something like the Facebook Graph API? For example, getting the 'like' statistic from a page and adding this to one of my tables. Is it plausible to write php code for this in MYSQL?
Additionally, if I want my database to automatically grab this information from Facebook every night at midnight and keep a record of how the 'like' statistic changes over time, do I do this using the event scheduler or triggers or something along those lines?
Any help would be much appreciated, I am new to MYSQL
Additionally, if I want my database to automatically grab this information from Facebook every night at midnight and keep a record of how the 'like' statistic changes over time, do I do this using the event scheduler or triggers or something along those lines?
Any help would be much appreciated, I am new to MYSQL