I am developing a system where the Long-Lived token will be generated and stored in a file. Since this token is valid up to 60 days, is an API call to refresh it the only way to refresh it ? Or does the validity period gets prolonged upon regular use of the token ?
You can test after a few days to see the validity - https://developers.facebook.com/tools/debug/accesstoken/
My guess is that it doesn't get automatically refreshed after use (otherwise why would they create an endpoint just for refreshing?)