{"id":28452639,"url":"https://github.com/livehelperchat/googlebusinessmessage","last_synced_at":"2026-04-06T04:31:45.505Z","repository":{"id":150580376,"uuid":"470135768","full_name":"LiveHelperChat/GoogleBusinessMessage","owner":"LiveHelperChat","description":"GoogleBusinessMessage integration","archived":false,"fork":false,"pushed_at":"2023-09-07T10:39:21.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T17:52:09.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiveHelperChat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-15T11:47:13.000Z","updated_at":"2024-09-12T07:52:47.000Z","dependencies_parsed_at":"2023-09-23T18:08:06.810Z","dependency_job_id":null,"html_url":"https://github.com/LiveHelperChat/GoogleBusinessMessage","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"25aaedecc4160f8dd3c749fe5aa705a7d6e70528"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiveHelperChat/GoogleBusinessMessage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveHelperChat%2FGoogleBusinessMessage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveHelperChat%2FGoogleBusinessMessage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveHelperChat%2FGoogleBusinessMessage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveHelperChat%2FGoogleBusinessMessage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiveHelperChat","download_url":"https://codeload.github.com/LiveHelperChat/GoogleBusinessMessage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveHelperChat%2FGoogleBusinessMessage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262351516,"owners_count":23297633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-06T18:12:10.501Z","updated_at":"2026-04-06T04:31:45.477Z","avatar_url":"https://github.com/LiveHelperChat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starting point\n\nRegister your project here https://business-communications.cloud.google.com/console/\n\n### Preparing\n\n* Upload the files to your `lhc_web/extension/googlebusinessmessage` folder\n* if your folder contain lower and Upper cases, rename it to lowercase `googlebusinessmessage`\n\n### Export `Service account`\n\n* Go to https://business-communications.cloud.google.com/console/\n* Click `Create Partner Account` on the `Business Messages`\n* Then Fill the necessery details and Click `Create`\n* Click `Patrner account settings` on top right corner (Gear Icon)\n* Click `Service account`\n* Create key and download json file.\n* Copy `extension/googlebusinessmessage/settings/google_service.json.default.php` to `extension/googlebusinessmessage/settings/google_service.json.php`\n* Modify file and put json file content in dedicated place in `settings/google_service.json.php` file.\n\nTruncated sample file\n\n![image](https://user-images.githubusercontent.com/1146085/199461664-58fcf6fb-2d63-4cfd-b7a9-486f7baa8c5e.png)\n\n### Installation\n\n* Execute `extension/googlebusinessmessage/doc/install.sql` or just execute from command line\n\n```\nphp cron.php -s site_admin -e googlebusinessmessage -c cron/update_structure\n```\n\nInstall dependencies using composer\n \n```\ncd extension/googlebusinessmessage \u0026\u0026 composer install\n```\n\nActivate extension in main settings file `lhc_web/settings/settings.ini.php` extension section googlebusinessmessage by Adding lines:\n\n```\n'extensions' =\u003e  array (  ,'googlebusinessmessage'  ),\n```\n\nIf you don't see this in Module, check your `lhc_web/settings/settings.ini.php` and also click Clean Cache from back office\n\n### Configuration\n* Click `Modules` then click `Google Business`\n* Then Click `Install/Update` (Colour will change from Red to Green )\n* Then Click `Agents` and fill the requred field\n  * `Brand ID` and `Agent ID` can be found in your Google Business Communications page\n  * Put random string on `Client Token`\n  * copy `Callback URL for Google Business Message` value to your clipboard and click save\n* Go to your `Google Business Communications page` and click on `Intergration`\n* Then Enable `Webhook`\n* Put your `Webhook EndPoint URL` and `Client Token`  \n* Click Verify\n\n## Hierarchy\n\n* Partner\n* Agent\n* Service Account export\n\n### Usefull links\n\n* https://github.com/googleapis/google-api-php-client - PHP library\n* https://developers.google.com/business-communications/business-messages/guides - main documentation page\n* https://github.com/google-business-communications/bm-snippets-curl - code samples with CURL\n* https://github.com/google-business-communications/bc-bm-nodejs-command-line-examples - NodeJS samples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivehelperchat%2Fgooglebusinessmessage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivehelperchat%2Fgooglebusinessmessage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivehelperchat%2Fgooglebusinessmessage/lists"}