Adding Users to Array and OAuth Token Expiring

So is there a better way or automatic way to refresh the token that follows best practice? Or should I create an alert when the token expires?