登录Google - 有代码吗? [英] Login to Google - is there code for this?

查看:71
本文介绍了登录Google - 有代码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我认识的大多数论坛中发布了这个查询,但是没有得到答案,甚至没有得到关于这是否可行的指导。我之前只使用过VBA,所以很遗憾。如果这是基本的(有点傻),我很抱歉。



是否可以自动登录Google?



我有一个Access数据库,用户想要将文件上传到。

我们的域名中有Google Drive,但没有同步文件夹。

我的想法是为数据库提供一个Google帐户,所有内容都上传到其驱动器上的文件夹。



我有一个URL可以将用户从Google中注销。

上传时,用户将有一个设置选项

通过设置,我希望数据库帐户登录Google

然后显示chrome扩展存储。

当用户设置完成后,Chrome将关闭。



我查看过OAuth2与Google+的文档和视频,但是当我尝试了一个演示,但没有成功。



欢迎提出任何意见或建议。

I have posted this query in most forums I know, but have not received an answer or even guidance as to whether this is possible. I have only used VBA before so am pretty lost. My apologies if this is basic (and a bit silly).

Is it possible to automate the login to Google?

I have an Access database that users want to upload documents to.
We have Google Drive on our domain, but not with synced folders.
My idea is to give the database a Google account and everything be uploaded to a folder on its drive.

I have a URL to log the user out of Google.
When uploading, the user will have a setup option
With setup, I want the Database account to login to Google
Then display the chrome extension store.
When user okays setup as complete, Chrome will close.

I have had a look at documentation and videos of OAuth2 with Google+ but when I tried a demo, was unsuccessful.

Any comments or advice most welcome.

推荐答案

这是很难知道解决问题没有它被指定。但我几乎不相信它会在谷歌的最后。您是否仔细阅读过api文档? https://developers.google.com/drive/quickstart-java#step_1_enable_the_drive_api [ ^ ]

https://developers.google.com/drive/about-auth [ ^ ]



如果这是你第一次这样做,我建议你去这个链接进一步学习:

http://www.codecademy.com/tracks/youtube?jump_to=50d4d97297692cde7e0009df [ ^ ]

是n ot对于谷歌驱动器,但原理是一样的。



再看一下这个例子,也许如果你也尝试了其他例子,它会有所帮助。



祝你好运
It is kind hard to know solve the problem without it being specified. But I hardly believe it would be on google's end. Have you carefully read the api docs?https://developers.google.com/drive/quickstart-java#step_1_enable_the_drive_api[^]
https://developers.google.com/drive/about-auth[^]

If this is the first time your are doing it, I advise you going to this link for further learning:
http://www.codecademy.com/tracks/youtube?jump_to=50d4d97297692cde7e0009df[^]
It is not for google drive, but the principle is the same.

Have a second look at the example, maybe if you also tried other examples it would help.

Good Luck


这篇关于登录Google - 有代码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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