Google Developers Console:如何注册新的应用程序? [英] Google Developers Console: how do I register a new application?

查看:88
本文介绍了Google Developers Console:如何注册新的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试遵循本教程用于Google的Analytics API.

I'm trying to follow this tutorial for Google's Analytics API.

该教程说:如果您尚未在Google Developers Console中注册您的应用程序,请在Developers Console中设置一个项目和应用程序."

The tutorial says "If you haven't already registered your application with the Google Developers Console, then set up a project and application in the Developers Console".

开发者控制台的文档说一个项目由一组应用程序组成...",这很有意义.

The documentation for the Developers Console says "A project consists of a set of applications...", which makes sense.

我能够创建项目,但是我看不到在该项目中创建应用程序的任何方法.上面链接的两个文档都指示我单击左侧边栏中的已注册的应用程序",但是没有此类链接. (我相信这些文档是为较旧版本的控制台编写的.)

I'm able to create the project, but I don't see any way to create an application within that project. Both pieces of documentation linked above instruct me to click on "Registered apps" in the left sidebar, but there is no such link. (I believe these docs were written for an older version of the Console.)

根据另一张海报的建议,我尝试使用旧版控制台,但找不到任何该版本中的已注册应用"链接(或创建应用的任何其他方式).

On the recommendation of another poster, I tried using the old Console instead, but I can't find any "Registered apps" link (or any other way to create an application) in that version, either.

有什么想法吗?

推荐答案

您没有说您是作为服务帐户,Web应用程序还是已安装的应用程序执行此操作,但这应该使您为所有人指明正确的方向这些.

You didn't say whether you were doing this as a service account, web app, or installed app but this should get you pointed in the right direction for all of those.

而且,谷歌从根本上改变了控制台的用户界面.

And, Google radically changed the console UI.

当您为应用程序类型创建凭据时,将创建该应用程序.

The application gets created when you create the credentials for an application type.

如果您是在Google控制台中创建的项目,请选择该项目并按照链接到tut中的说明进行操作:

If you created the project in the Google Console, select the project and follow the instructions in the tut you linked to:

  1. 转到Google Developers Console.

  1. Go to the Google Developers Console.

选择一个项目.

在左侧的边栏中,选择APIs&授权在显示的API列表中,确保您正在使用的所有API的状态都显示为开".

In the sidebar on the left, select APIs & auth. In the displayed list of APIs, make sure all the APIs you are using show a status of ON.

在左侧的边栏中,选择凭据".

In the sidebar on the left, select Credentials.

添加此步骤:点击创建新客户端ID"按钮,然后选择应用程序类型.

Add this step: Click on the "Create New Client ID" button then select the application type.

无论哪种情况,您最终都会进入应用程序的凭据页面.

In either case, you end up on the application's credentials page.

要查找应用程序的客户端ID和客户端密钥,并设置重定向URI,请展开OAuth 2.0客户端ID部分.

To find your application's client ID and client secret, and set a redirect URI, expand the OAuth 2.0 Client ID section.

写下这些字段的值:

客户ID

客户机密

这篇关于Google Developers Console:如何注册新的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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