powered by
Refresh old access token
myTarRefreshToken(old_auth = NULL, client_id = NULL, client_secret = NULL)
Your old auth object
Your client ID
Your client secret
R auth object with new acess token
https://target.my.com/doc/api/detailed/#resource_oauth2_access_token
# NOT RUN { auth <- myTarRefreshToken(old_auth = myTargetAuth, client_id = "xxxx", client_secret = "xxxx.") # }
Run the code above in your browser using DataLab