实时驱动器JavaScript示例不起作用 - Google API [英] Realtime drive javascript example not working - Google API
问题描述
我设置了此处显示的Realtime驱动器示例: https://developers.google。 com / drive / realtime / realtime-quickstart
在此网站上: http://shuub.com
但是,当我从不同的浏览器访问链接时(使用其他Google帐户登录) ,它不会加载文件。
我需要的是与其他用户编辑一些纯文本,无需访问Google帐户,它不会在关闭网站后甚至不需要保存。是否有可能?
感谢您阅读。 $ b
但是,当我从不同的浏览器
(以不同的Google帐户登录)访问链接时,它不会加载该文件。
可能需要先与其他用户分享文件。
打开 Google云端硬盘。如果您未修改示例代码,则您的文件应位于根文件夹中。它可能被命名为New Realtime Quickstart File。右键单击该文件并通过将其帐户添加到列表并授予所有权限与其他用户分享。
我需要的是与另一个用户编辑一些纯文本,没有
需要访问一个谷歌帐户,它甚至不需要关闭网站后保存
。是否有可能?
您链接的网站无法访问,因此我不知道您想要做什么。
也许你也可以使用其他和(在没有保存和登录的情况下)更简单的技术,如 (你可以在 jsfiddle.net 上试试),或者你可以使用像 Etherpad 。
I set up the Realtime drive example shown here: https://developers.google.com/drive/realtime/realtime-quickstart
On this site: http://shuub.com
But the thing is, that when I access the link from a different browser (logged in a different Google account), it won't load the file.
All I need is to edit some plain text with another user, without needing to access a google account, it doesn't even need to be saved after closing the site. Is it possible?
Thanks for reading.
But the thing is, that when I access the link from a different browser (logged in a different Google account), it won't load the file.
Probably you need to share the file with the other user first.
Open Google Drive in your Browser. If you did not modify the example code, your file should be located in the root folder. It's probably named "New Realtime Quickstart File". Right-click on the file and share it with the other user by adding his account to the list and granting all permissions.
All I need is to edit some plain text with another user, without needing to access a google account, it doesn't even need to be saved after closing the site. Is it possible?
The website you have linked is not reachable so I don't know what you want to do exactly. Probably you could also use other and (in that use case without saving and login) simpler techniques like Mozillas TogetherJS (you can try it on jsfiddle.net) or you could use a tool like Etherpad.
这篇关于实时驱动器JavaScript示例不起作用 - Google API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!