From september long live tokens are being retired, so how can I take my existing long lived token and generate a refresh token that I'll be able to use via the api going forward alongside any new short lived tokens I may receive?
The API doesn't offer a way to convert long-lived access tokens to refresh tokens. Creating new long-lived access tokens is now considered deprecated, but we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access tokens as-is.