A Contao bundle that displays Google My Business reviews (*).
Install composer if you haven't already, then enter this command in the main directory of your Contao installation:
composer require w3scout/contao-googlebusinessreviews-bundle
- Google Cloud Console Account
- Google Business Account
- Google Places API Key
- Google Place ID
DON´T FORGET TO RESTRICT YOUR API KEY!
https://developers.google.com/maps/documentation/places/web-service/get-api-key#restrict_key
Go to the Google Places ID Finder page Google Places ID Finder and search for your business. When your business is found, click on the marker and copy the Place ID out of it.
Go to your Google My Business entry, copy the URL out of the browser address bar and remove everything after your business name.
Go to your Google My Business entry and click on "Write a review". Copy the link out of the browser address bar.
the Google Places API returnes max. 5 reviews.
If you need more, you need to request access to the Business Profile API: https://developers.google.com/my-business/content/overview?hl=de (not supported yet)