Becuase you need to modify the code to do what you need it to do
The PHP Example
Stores the generated token in $_SESSION you need to modify the script to do what you need it to do.
It’s an exmaple script to demonstrate how you can authenticate and obtain a token in PHP.
So you could change this script to generate a token and store it in a DB for your Cron Scripts to collect your sub/follow count/etc for display on your website
So take the script and adjust it accordingly to meet your needs.