从 Fusion 中的 OAuthConfig 迁移 Table CRUD
Migrating from OAuthConfig in Fusion Table CRUD
我正在使用 Google 应用开发者博客中的 Ferris Argyle’s CRUD 来访问 Fusion table。不幸的是,OAuth 1.0 已于 2015 年 4 月 20 日关闭,我需要更新脚本的授权方法。
我认为有两种选择 - 从 OAuthConfig 迁移到 OAuth1 library or instead use the OAuth2 for Apps Script library。 OAuth1 库看起来更易于实现,但我不确定它是否仍适用于 Fusion tables。 OAuth2 看起来像是一个更复杂的解决方案,我不知道如何配置它以进行匿名访问。新手程序员的最佳解决方案是什么?
换句话说,Fusion Table 可以使用 OAuth1 库吗?如果不能,是否有 OAuth2 匿名访问的示例?
谢谢,斯科特
编辑:Changes to OAuth in Apps Scripts 很有帮助。
这也是提供方向 - Authenticate application with OAuth to access Fusion Tables.
我认为 OAuth2 作为服务帐户 (2LO) 是正确的方向。
据我所知,您根本不需要 OAuth 即可从 Apps 脚本访问 Fusion Tables。
看看 this project,它用电子表格中的数据替换了 table 的内容。 Apps 脚本让身份验证变得非常简单。
我正在使用 Google 应用开发者博客中的 Ferris Argyle’s CRUD 来访问 Fusion table。不幸的是,OAuth 1.0 已于 2015 年 4 月 20 日关闭,我需要更新脚本的授权方法。
我认为有两种选择 - 从 OAuthConfig 迁移到 OAuth1 library or instead use the OAuth2 for Apps Script library。 OAuth1 库看起来更易于实现,但我不确定它是否仍适用于 Fusion tables。 OAuth2 看起来像是一个更复杂的解决方案,我不知道如何配置它以进行匿名访问。新手程序员的最佳解决方案是什么?
换句话说,Fusion Table 可以使用 OAuth1 库吗?如果不能,是否有 OAuth2 匿名访问的示例?
谢谢,斯科特
编辑:Changes to OAuth in Apps Scripts 很有帮助。
这也是提供方向 - Authenticate application with OAuth to access Fusion Tables.
我认为 OAuth2 作为服务帐户 (2LO) 是正确的方向。
据我所知,您根本不需要 OAuth 即可从 Apps 脚本访问 Fusion Tables。
看看 this project,它用电子表格中的数据替换了 table 的内容。 Apps 脚本让身份验证变得非常简单。