Page 1 of 1

Google places API Key

Posted: Thu Mar 12, 2015 2:46 pm
by shabeer

Hi, I am using google places API, which needs a key to access the API, since I am working with appery interface, how do I generate a key to get this information. I already tried using https://code.google.com/apis/console, but i am not able to use the generated key.. Please help..


Google places API Key

Posted: Fri Mar 13, 2015 5:21 am
by Yurii Orishchuk

Hello,

It's not Appery.io specific question.

Please learn about this issue here: http://stackoverflow.com/questions/24...

Regards.


Google places API Key

Posted: Sat Mar 14, 2015 11:19 am
by shabeer

Hi,

I have genererated an app key and a browser key, but when using google API under create services, I am not able to run the test and store the echo, It always says:

{

Code: Select all

"error_message" : "This IP, site or mobile application is not authorized to use this API key.", 

"html_attributions" : [ 

 ], 

"results" : [ 

 ], 

"status" : "REQUEST_DENIED" 

}

this is where I am stuck...


Google places API Key

Posted: Sat Mar 14, 2015 11:26 am
by shabeer

For the benefit of others this is what i did for key generation,

Goto resources tab in appery platform
Export the certificate and save it locally

then run keytool -list -v -keystore

It will ask you for a password, enter the one that you used while generating the certificate in appery

If everything runs well you will see a 20 byte string, copy it and follow the steps in
https://code.google.com/apis/console under the "create new android key" tab.

The name of your package is available in the app settings in appery.

I scratched my head for some time to figure this.. so hope it helps...


Google places API Key

Posted: Sat Mar 14, 2015 11:44 am
by shabeer

Got it working, thanks