Register your project here https://business-communications.cloud.google.com/console/
Execute extension/googlebusinessmessage/doc/install.sql
or just execute from command line
php cron.php -s site_admin -e googlebusinessmessage -c cron/update_structure
- Go to https://business-communications.cloud.google.com/console/
- Click
Parner account settings
- Click
Service account
- Create key and download json file.
- Copy
settings/google_service.json.default.php
tosettings/google_service.json.php
- Modify file and put json file content in dedicated place in
settings/google_service.json.php
file.
Truncated sample file
- Partner
- Agent
- Service Account export
- https://github.com/googleapis/google-api-php-client - PHP library
- https://developers.google.com/business-communications/business-messages/guides - main documentation page
- https://github.com/google-business-communications/bm-snippets-curl - code samples with CURL
- https://github.com/google-business-communications/bc-bm-nodejs-command-line-examples - NodeJS samples