i have got access token now i want to have refresh token so that i can refresh my access token whenever needed. i used fallowing code but it returned error response
**OAuthRequest request = new OAuthRequest(Verb.POST, "https://accounts.google.com/o/oauth2/token");
request.addBodyParameter("grant_type", "refresh_token");
request.addBodyParameter("refresh_token", "accesstoken string");
request.send();**
有什么想法 如何得到更新的标志?