Android Google Play开发者API未返回刷新令牌
我想使用API获取订阅数据。为此,我正试图获得令牌从 根据,它应向我返回以下响应:Android Google Play开发者API未返回刷新令牌,android,google-play,google-play-developer-api,Android,Google Play,Google Play Developer Api,我想使用API获取订阅数据。为此,我正试图获得令牌从 根据,它应向我返回以下响应: { "access_token" : "ya29.ZStBkRnGyZ2mUYOLgls7QVBxOg82XhBCFo8UIT5gM", "token_type" : "Bearer", "expires_in" : 3600, "refresh_token" : "1/zaaHNytlC3SEBX7F2cfrHcqJEa3KoAHYeXES6nmho" } 但当我尝试执行相同的步骤时,我没有得
{
"access_token" : "ya29.ZStBkRnGyZ2mUYOLgls7QVBxOg82XhBCFo8UIT5gM",
"token_type" : "Bearer",
"expires_in" : 3600,
"refresh_token" : "1/zaaHNytlC3SEBX7F2cfrHcqJEa3KoAHYeXES6nmho"
}
但当我尝试执行相同的步骤时,我没有得到响应的刷新\u令牌字段。
我将发送文档中提到的以下字段:
grant_type=authorization_code
code=<the code from the previous step>
client_id=<the client ID token created in the APIs Console>
client_secret=<the client secret corresponding to the client ID>
redirect_uri=<the URI registered with the client ID>
grant\u type=授权\u代码
代码=
客户识别码=
客户机密=
重定向\u uri=
请帮我找到我缺少的东西。好的。我发现了真正的问题。这实际上是缺乏API方面的文档。在允许应用程序管理您的开发人员帐户后,我们将仅首次使用以下数据调用api来刷新\u令牌值:
grant_type=authorization_code
code=<the code from the previous step>
client_id=<the client ID token created in the APIs Console>
client_secret=<the client secret corresponding to the client ID>
redirect_uri=<the URI registered with the client ID>
grant\u type=授权\u代码
代码=
客户识别码=
客户机密=
重定向\u uri=
如果您没有获取刷新\u令牌,您可以按照本文中提到的步骤再次尝试获取刷新\u令牌请在此处发布您的一些代码,您将得到什么回报?我已经在上面提到,响应与文档中描述的相同,只是刷新\u令牌即将到来