This IP, site or mobile application is not authorized to use this API key

I had the same issue and I found this. On the url, it requires the server key in the end and not the api key for the app. So Basically, you just add the server key in the end of the URL like this: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=yourlatitude,yourlongitude&radius=5000&sensor=true&key=SERVERKEY Now, to obtain the server key, just follow these steps: … Read more

Get user info via Google API

Add this to the scope – https://www.googleapis.com/auth/userinfo.profile And after authorization is done, get the information from – https://www.googleapis.com/oauth2/v1/userinfo?alt=json It has loads of stuff – including name, public profile url, gender, photo etc.

Is there a link to the “latest” jQuery library on Google APIs? [duplicate]

Up until jQuery 1.11.1, you could use the following URLs to get the latest version of jQuery: https://code.jquery.com/jquery-latest.min.js – jQuery hosted (minified) https://code.jquery.com/jquery-latest.js – jQuery hosted (uncompressed) https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js – Google hosted (minified) https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js – Google hosted (uncompressed) For example: <script src=”https://code.jquery.com/jquery-latest.min.js”></script> However, since jQuery 1.11.1, both jQuery and Google stopped updating these URL’s; they will … Read more

Access-Control-Allow-Origin error sending a jQuery Post to Google API’s

I solved the Access-Control-Allow-Origin error modifying the dataType parameter to dataType:’jsonp’ and adding a crossDomain:true $.ajax({ url: ‘https://www.googleapis.com/moderator/v1/series?key=’+key, data: myData, type: ‘GET’, crossDomain: true, dataType: ‘jsonp’, success: function() { alert(“Success”); }, error: function() { alert(‘Failed!’); }, beforeSend: setHeader });

What are the alternatives now that the Google web search API has been deprecated? [closed]

Yes, Google Custom Search has now replaced the old Search API, but you can still use Google Custom Search to search the entire web, although the steps are not obvious from the Custom Search setup. To create a Google Custom Search engine that searches the entire web: From the Google Custom Search homepage ( http://www.google.com/cse/ … Read more

How do I authorise an app (web or installed) without user intervention?

This can be done with the Oauth2 Playground at https://developers.google.com/oauthplayground Steps:- Create the Google Account (eg. [email protected]) – Or skip this step if you are using an existing account. Use the API console to register the mydriveapp (https://console.developers.google.com/apis/credentials/oauthclient?project=mydriveapp or just https://console.developers.google.com/apis/) Create a new set of credentials. Credentials/Create Credentials/OAuth Client Id then select Web application … Read more