Category Archives: Developers

Developers Google Google webmaster webmasters tools

Google API manager

Published by:

Google API manager

Creating an API for a Reverse Geocoding With Google Map API And PHP!

After created an API key, when I trying to test it, I have received the next message:
https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=AIzaSyDWpVDQyIieftj5WOKekltjoDx3z8rnowY

Result:

{
“error_message” : “This IP, site or mobile application is not authorized to use this API key. Request received from IP address 86.182.65.135, with empty referer”,
“results” : [],
“status” : “REQUEST_DENIED”
}

google api reverse enconding

Editiing/creating a Credential for a Browser API key

Accept requests from these HTTP referrers (websites) (Optional)
Use asterisks for wildcards. If you leave this blank, requests will be accepted from any referrer.
Be sure to add referrers before using this key in production.

*.camssay.com/*

*.camssay.co.uk/*

Once I click to save, I have received the next message:

Sorry, there’s a problem. If you have entered information, check it and try again.
Otherwise, the problem might clear up on its own, so check back later.

Google saving a credential

Using the console for developers by Google