This thread was archived. Please ask a new question if you need help.
TbSync, Google-4-TbSync setup
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.)
All Replies (4)
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.
In Address Book, File/New/CardDAV Address Book.
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://email@example.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.
The CalDAV URL is a bit different from the one for CardDAV:
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.
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.