stwa / google_addressbook

This plugin lets you sync your Google Addressbook in readonly mode with Roundcube.
GNU General Public License v3.0
39 stars 20 forks source link

googleunreachable #61

Open thommycgn opened 2 years ago

thommycgn commented 2 years ago

This plugin doesn't work. I always get googleunreachable from sync-cli.sh.

google_addressbook was installed by composer and MySQL Table was created.

Roundcube Webmail 1.5.2 php 7.4 OAuth-App created contacts api activated

"Click here to get the authorization" works well

nnw49 commented 2 years ago

I'm seeing this with a new RoundCube 1.5.2 install too on AlmaLinux with php 7.2.24 . Like Thommy, I have set up the authorisation on google and put the key in the right place....

ebinet commented 2 years ago

The Contacts API was turned down on January 19, 2022. We need to migrate to People API to retain programmatic access to Google Contacts. https://developers.google.com/people/contacts-api-migration

jockie commented 2 years ago

You might as well check out some forks: https://github.com/stwa/google_addressbook/network/members

Haven't checked them throuroughly yet, but at least one seems to be also listed in RoundCube's plugin repo: https://plugins.roundcube.net/#/packages/ashus/google-addressbook

zanonmark commented 2 years ago

Hi all,

first of all, thanks for this plugin which proved to be useful for so many years.

If it may help, I wrote a Thunderbird add-on called Google-4-TbSync which interacts with Google Contacts via People API. The add-on is still in alpha, but seems quite stable, although somewhat slow (but this is probably due to the Thunderbird part of the code). The People API part is stable and working well.

Unfortunately I don't have any time to code this myself, but I thought you could find that part of my code useful to migrate to People API. The relevant part is here. I think more than 50% of the work is there - i.e.: all the methods for the standard CRUD operations.

Thanks, MZ

ratenfanger commented 1 year ago

I just migrated to rcmcarddav. Setup is as easy as:

  1. Running composer require roundcube/carddav.
  2. Setting up an app password at https://myaccount.google.com/.
  3. Setting up the integration in Roundcube settings.

Please check this comment for details about step 2 and 3.