无法发布API项目的Google Apps Marketplace列表审核请求 [英] Can not post Google Apps Marketplace Listing Review Request for API Project

查看:86
本文介绍了无法发布API项目的Google Apps Marketplace列表审核请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是为Google Apps Marketplace中的现有OAuth 1.0应用程序启用OAuth 2.0. 我已经在控制台中创建了一个新的Google项目,并为其创建了清单.现在,我需要提交Google Apps Marketplace Listing Review Request.由于这是一个仅使用Google Apps Marketplace SDK的API项目,因此我无法对我的应用列表提出审核请求.由于我的必填部分中未列出任何API,因此请求提交失败.

My requirement is to enable OAuth 2.0 for an existing OAuth 1.0 application in Google Apps Marketplace. I have created new Google project in the console and created a listing for it. And now I need to submit Google Apps Marketplace Listing Review Request. As it is an API project that uses only Google Apps Marketplace SDK so I can not make a review request for my app listing. As I don't have any APIs listed in the required section the request submission failed.

该应用程序和列表经过安装到该应用程序和项目的所有者(创建者)拥有的测试域的测试.

The app and listing is tested installing to a test domain owned by the owner(creator) of the app and project.

对于使用文档的应用发布,对于使用

For app publishing used this document, for project creation used this document.

我的问题是如何发布仅使用Google Apps Marketplace SDK的项目?是否有其他替代方法,例如仅创建Crome Web Store而不发布到Google Apps Marketplace?

My question is how can a project which use only Google Apps Marketplace SDK be published? Is there an alternative way to do that like creating only to the Crome Web Store instead of publishing to Google Apps Marketplace?

以下是我在应用程序的编程/实现端使用的范围设置代码和用户详细信息检索代码.

Following is the scope setting code and user details retrieving code I use in the programming/implementation end of the application.

// Create new instance of Google_Client
$client = new Google_Client();
$client->setClientId(GOOGLE_APP_CLIENT_ID);
// Set client secret
$client->setClientSecret(GOOGLE_APP_CLIENT_SECRET);
// Set redirect URI, this matches the Redirect URIs set in OAuth 2.0 client settings
$client->setRedirectUri(GOOGLE_APP_CLIENT_REDIRECT_URI);
// Set scopes
$client->addScope("openid profile email");

// Create a OAuth 2 service instance
$oauth2 = new Google_Service_Oauth2($client);

// Verify code and access_token
......
// Get user information and signup the user
$guser_info = $oauth2->userinfo->get();

// Get required user information infiormation
$firstName = $guser_info['givenName'];
$lastName = $guser_info['familyName'];
$userEmail= strtolower( filter_var($guser_info['email'], FILTER_SANITIZE_EMAIL) );

开发者控制台中启用的API是

Enabled APIs in the Developer Console are

  1. Google Apps Marketplace SDK
  2. Google+ API

在Google Apps Marketplace SDK中设置的范围是(默认情况下,前两个是设置的)

Scopes set in the Google Apps Marketplace SDK are (first two are set by default)

https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/plus.me

推荐答案

似乎Google完全摆脱了"Apps Marketplace",而专注于Chrome Web Store.您可以 在Chrome网上应用店中列出一个API项目,但是您还必须包括一个已定义的扩展程序或网络应用程序才能正确安装.

It seems like Google is shifting away entirely from the "Apps Marketplace" and focusing on the Chrome Web Store. You can list an API project on the Chrome Web Store, but you kind of also have to include a defined extension or web app for it to install correctly.

这篇关于无法发布API项目的Google Apps Marketplace列表审核请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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