By Chihuahua1606 on Saturday, 27 August 2016
Posted in General Issues
Replies 5
Likes 0
Views 613
Votes 0
Hi

I have the same issue as an incident below for my easysocial,
http://stackideas.com/forums/google-map-in-easysocial-is-not-working

For instance, when I tried to add any address to the address field that I configured with google map for group, it doesn't detect geocode.
ie:) https://www.dogsaroundus.com/administrator/index.php?option=com_easysocial&view=groups&layout=form&id=10

I have actually tried the method that you explained for EasyDiscuss and added API into "Setting>Location Service>GoogleMap API key" after I confirmed that the following link shows google map, but it didn't resolve my issue..

http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyCgTpIPvEWcUcSdSTRULD4H5ZNfqkHYtss&size=400x200&sensor=true&zoom=15¢er=3.1208901,101.6773664&markers=3.1208901,101.6773664&language=en

Is it something you can look into for me?

Many thanks

H
Hello,

Can you please provide us with your Google account so that we can check on your API key?
·
Saturday, 27 August 2016 16:09
·
0 Likes
·
0 Votes
·
0 Comments
·
API code: AIzaSyCgTpIPvEWcUcSdSTRULD4H5ZNfqkHYtss

The following URL shows static map, which I assume it is working as noted on http://stackideas.com/forums/google-map-in-easysocial-is-not-working

http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyCgTpIPvEWcUcSdSTRULD4H5ZNfqkHYtss&size=400x200&sensor=true&zoom=15¢er=3.1208901,101.6773664&markers=3.1208901,101.6773664&language=en

I realized that I haven't verified domain, so I have followed the process below
https://www.google.com/webmasters/verification/verification?domain=www.dogsaround.com&pli=1
·
Sunday, 28 August 2016 01:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

It seems like your API key is not get it from `server key`, this is what I hitting that error :

string(220) "{
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address 185.123.97.31, with empty referer",
"results" : [],
"status" : "REQUEST_DENIED"
}
"


By the way, I have help you create a new Google map API key, it should work fine now.

AIzaSyBbpqnXSP7zMEo28Ti8SxjFE7lfajzMBeY


Can you check again?
·
Monday, 29 August 2016 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much, it works now.
May I ask how you managed to get a correct API?

Have you done anything different to the process explained in the other thread?
http://stackideas.com/forums/google-map-in-easysocial-is-not-working

Many thanks
·
Tuesday, 30 August 2016 00:42
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome

This is how I register Google Maps API key in my account :

1. Go to this page -> https://console.developers.google.com/iam-admin/projects
2. Create project and check my video here : http://screencast.com/t/xnfoJH8vx
3. This is the page for activate the APIs key -> https://developers.google.com/maps/documentation/javascript/get-api-key

In Easysocial is a little different because we unable to provide the proper fix in Easysocial 1.4 existing code, so have to hardcoded the Google Maps API key into few files and recompile the script again.

But in Easysocial 2.0 do not need to hardcoded the API key any more, just register an API key then configure your API key into Easysocial backend setting.
·
Tuesday, 30 August 2016 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post