如何在C#Web应用程序中为google analytics api应用程序生成访问令牌。 [英] How to generate an access token for google analytics api application in C# web application.

查看:71
本文介绍了如何在C#Web应用程序中为google analytics api应用程序生成访问令牌。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C#Web应用程序中为google analytics api应用程序生成访问令牌。

解决方案

您没有。该令牌由Google生成,并提供给您用于对您订阅的API的所有请求。


除了解决方案1之外,请参阅使用OAuth 2.0访问Google API [ ^ ]。找到符合您要求的方案,逐步完成流程,并获取相关 Google API客户端库的副本 [ ^ ]并了解示例代码。

How to generate an access token for google analytics api application in C# web application.

解决方案

You don't. The token is generated by Google and given to you to use for all requests to the API you're subscribing to.


In addition to Solution 1, refer to the documentation on Using OAuth 2.0 to Access Google APIs[^]. Find the scenario that fits your requirements, step through the flow, and get a copy of the relevant Google API Client Library[^] and learn the sample codes.


这篇关于如何在C#Web应用程序中为google analytics api应用程序生成访问令牌。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆