为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

TbSync, Google-4-TbSync setup

  • 3 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 Marco Zanon

more options

I'm using Tb beta on W10. TbSync was already installed. I've installed Google-4-TbSync. I followed all the instructions at the Google-4-TbSync wiki: https://github.com/zanonmark/Google-4-TbSync which included setting up Google API Console, and adding People API. (The wiki is very good except IT NEVER TELLS HOW TO USE IT. And it mention settings options like "Read-only mode" that are not to be found anywhere I've looked.)

I can't find any decent, coherent, up-to-date instructions for using TbSync, so I'm struggling to finish the task.

I'm in the TbSync account manager, where I now find "Google" - I assume it's the People API info that I named "Google". I tried to enable and sync the account, but get this error: Error 401: invalid_client Client missing a project id

How to proceed? And is there a wiki for TbSync? And why do Tb users need to jump through all these hoops? (I didn't have to do any of this for Outlook or any other email client I've used.)

I'm using Tb beta on W10. TbSync was already installed. I've installed Google-4-TbSync. I followed all the instructions at the Google-4-TbSync wiki: https://github.com/zanonmark/Google-4-TbSync which included setting up Google API Console, and adding People API. (The wiki is very good except IT NEVER TELLS HOW TO USE IT. And it mention settings options like "Read-only mode" that are not to be found anywhere I've looked.) I can't find any decent, coherent, up-to-date instructions for using TbSync, so I'm struggling to finish the task. I'm in the TbSync account manager, where I now find "Google" - I assume it's the People API info that I named "Google". I tried to enable and sync the account, but get this error: Error 401: invalid_client Client missing a project id How to proceed? And is there a wiki for TbSync? And why do Tb users need to jump through all these hoops? (I didn't have to do any of this for Outlook or any other email client I've used.)

所有回复 (4)

more options

TbSync is compatible with TB 91, but the current beta is 92. If you're on 92, try adding the Google calendar as CalDAV and Contacts as CardDAV.

https://support.mozilla.org/en-US/questions/1304356#answer-1368791

The CardDAV URL is https://www.googleapis.com/carddav/v1/principals/yourname@gmail.com/lists/default/

In Address Book, File/New/CardDAV Address Book.

more options

Thank you, sfhowes. For others with this problem, here's the format I used:

In Thunderbird, go to Tools/Address Book/File/New/CardDAV Address book... You'll be prompted for a User name and Location. I typed my Gmail address name as the "Username", and typed the following into "Location" (replacing "username" with my Gmail address name): https://www.googleapis.com/carddav/v1/principals/username@gmail.com/lists/default/ At this point, Google intercedes with authentication requests.

After doing this, my Tb address book populated with what appears to be all entries from my Google Contacts. Hurrah! (I think.)

Then, to sync my Google Calendar, I did the following:

In Tb, I went to File/New/Calendar... A dialog box popped up, asking for the calendar location - computer or network. I clicked network. Another dialog box asks for Username and Location. I did the same as before, but replaced CardDAV with CalDAV. THIS DID NOT WORK.

I started anew. Here's the protocol that worked: In Tb, go to File/New/Calendar... In the dialog box, choose "network". I typed in my full gmail address as Username, and the location box autofilled with "gmail.com". I clicked "Find calendars". Once again, Google interceded for authentification. After typing in my user name and password, each of my Google calendar categories appeared. I "subscribed" to them all and in a moment Tb populated with my Google calendar events and such. Success! (I think.)

Why doesn't Thunderbird just do this stuff automatically? Why do users have to fix it? And what was the point of Google-4-TbSync? Was it a middleman somehow? And why is there no coherent, concise, step-by-step wiki for this? It's so frustrating.

more options

The CalDAV URL is a bit different from the one for CardDAV:

https://apidata.googleusercontent.com/caldav/v2/myname@gmail.com/events

But in TB 91, CalDAV autodiscover works as well.

There are a number of methods for calendars and contacts, some using add-ons, and some that sync contact categories or tasks. In order for there to be a concise and complete wiki, someone would have to gather all the information and spend time documenting it. Don't count on anything like that being supported (paid for) by the TB development team.

more options

Hi everybody,

1) I am the developer of Google-4-TbSync, which is an add-on to TbSync (developed by John Bieling), which is an add-on to Thunderbird.

2) The reason for Google-4-TbSync to be developed are shown here: https://github.com/zanonmark/Google-4-TbSync/wiki/Why-another-Google-synchronization-add-on. Basically:

  • sticking to CardDAV should be the best choice, because it's a well-established standard, but Google doesn't still support it completely (at least when I last tried), specifically You won't get groups;
  • gContactSync, which used the old Google Contacts API protocol and the old Thunderbird API, is not working anymore;
  • so, Google-4-TbSync tries to address all of these issues and provide a full support to Google Contacts through the "new" Google's People API protocol.

3) You need to create the Google credentials by Yourself because, as explained in https://github.com/zanonmark/Google-4-TbSync/wiki/How-to-generate-your-own-Google-API-Console-project-credentials, "Google forbids open source projects to include such credentials (because they would be in clear)". If You used closed source software, this wouldn't be a problem, because the credentials could be hidden in the compiled code.

4) Google-4-TbSync does not provide calendar support; only contacts.

I hope it helps.

Marco