By Alan Morris on Friday, 28 April 2017
Posted in Technical Issues
Replies 1
Likes 0
Views 196
Votes 0
I an trying to add locations to blogs but what ever I type into the location field doesnt return anything to choose from. See attached screenshot. So I can not add a location. Blogs with this already on are ok its just adding it to ones without are a problem.
Hi Alan,

It seems like google is returning the following error when EasyBlog trying to query the location result.
Browser API keys cannot have referer restrictions when used with this API.


The reason why it hit this error is because to query the location result will require EasyBlog to use Geolocation APIs and it only accept server restriction API key instead of browser restriction API key. Refer my screenshot here, http://take.ms/9HGeh . However for EasyBlog to display the maps will require to use Static/Embed Maps APIs and it can only accept browser restriction, hence the same API key cannot be use for both situation. For more information please refer to this link, https://developers.google.com/maps/faq#using-google-maps-apis .

We already start to plan on the fix for these issue which will require site admin to put two type of API key (browser and server) in the future but it require a lots of work since we need to cater the key for specific type of Maps APIs.

In the meantime, you have to disable any restriction from your API key, http://take.ms/nTqjy so that the location in EasyBlog will work correctly until we have implement the fix hopefully in the next release of EasyBlog.

Thank you for your kind understanding.
·
Friday, 28 April 2017 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post