When I try getting The Google plus profile information using the following code,
$client = new Google_Client();
$client->setClientId(Config::get('services.google.clientId'));
$client->setClientSecret(Config::get('services.google.clientSecret'));
$client->setRedirectUri(Config::get('services.google.redirectUri'));
$client->setScopes(['profile', 'login' ]);
$id_token = $this->request->input('idToken');
$token_data = $client->verifyIdToken($id_token)->getAttributes();
$googlePlus = new Google_Service_Plus($client);
$userProfile = $googlePlus->people->get('me');
I get the error saying
exception 'Google_Service_Exception' with message 'Error calling GET https://www.googleapis.com/plus/v1/people/me: (403) Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.' in /home/bepolite/websites/goodies/vendor/google/apiclient/src/Google/Http/REST.php:110
This code used to work before and I changed nothing on my end.
Also I am using the official google php api which I downloaded using composer
"google/apiclient": "^1.1"
Thanks In advance