Is there any way to use the graph api to find out when a page access token, or application token will expire?
Try this, it worked with me. Get the token with your app and paste it in the graph explorer as the token to be used for queries. Click on the info a see the expiration date. example image
I hope it works for you too.