Pagespeed problem when typic in URL: "The referrer https://www.googleapis.com/ does not match the referrer restrictions configured on your API key." [closed] - google-api

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
Anyone know what this means? I went to https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftreepi.me%2F and I am given this error. It was working yesterday. I have no idea what is going on. It's just a WordPress blog with Google Site Kit enabled. I've removed and reinstalled Site Kit, but still same issue.
The referrer https://www.googleapis.com/ does not match the referrer
restrictions configured on your API key. Please use the API Console to
update your key restrictions.

This is normally caused by some sort of firewall issue / browser extension blocking referrer on requests.
Last couple of times I have seen this error someone was using Brave Browser with 'shields up'.
I ran it fine so try a different browser / incognito mode and see if that helps.

Related

Server return 403 error on live share hosting , work in local [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed yesterday.
Improve this question
when i create some post with summernote editor , its work fine using laravel framework
when not include image upload function, its work
when I choose image and update data
its not work.
images are stored at contabo(block storage).
when update with uploaded image data in summer note , that not work but work in local
server return like this
thanks you all, sorry for my bad english
Work on local , not work in live server
when store to database with laravel framework

Vue pagination with laravel backend difficulties with filtering [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 days ago.
Improve this question
I have a laravel app with a vue 2 front end. I paginated 6000 records however whenever I use the search box feature, or drop downs to filter, I am only able to get the results on the same page and not others on a different page. It comes back as "no data found". I use axios.
How would I go about solving this?
Thank you!
I tried using a different axios call specifically for this but to no avail.

Google Maps not loading when my page is accessed over https [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I am trying to include a map from Google Maps on my website. However, Google Maps won't load when my page is accessed over https, but it does work perfectly when my page is accessed over plain http. I'm using Laravel and don't have much experience with this framework yet.
this is the http-link and this is the https-link.
When you navigate to your website via the https url, the Google map doesn't show up because it fails to load its script via
<script src="http://maps.googleapis.com/maps/api/js ..."></script>
This is because your website is loaded over https and the script over http, which is known as the mixed-content problem.
You solve this by also loading the Google maps script over https
<script src="https://maps.googleapis.com/maps/api/js ..."></script>

W3C validation for complete site [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am working on a project where I have to validate the complete site, which has around 150 pages, through W3C Markup Validation. Is there a way to check W3C Markup Validation of an entire website?
The W3C doesn't offer this on w3.org.
http://validator.w3.org/docs/help.html#faq-batchvalidation
But you can use this tool and check "Validate entire site": (Also w3.org refers to this site!)
http://www.htmlhelp.com/tools/validator/
But you have a limit of 100 URLs to validate and will get this message when you reach 100 URLs:
Batch validation is limited to 100 URLs at one time. The remaining URLs were not checked.
Also there's a limit of errors displayed for each url.
The WDG offers two free solutions:
Validate entire site (select 'validate entire site')
Validate multiple URLs (batch)
You can run the validator yourself. As of 2018, W3C are using v.Nu for their validator, the code is at https://github.com/validator/validator/releases/latest and usage instructions are at https://validator.github.io/validator/#usage
For example, the following command will run it on all html files under the public_html directory:
java -jar vnu.jar --skip-non-html public_html
I use this tool bulk w3c html validator to validate my entire website
http://www.bulkseotools.com/bulk-w3c-validator.php
This tool uses W3c validator engine, you can check 500 urls at once.
I've used http://sitevalidator.com; I think it would be helpful to you.
I made this java app (Windows installer) in my spare time because I needed it at work:
https://gsoft.no/validator. It's free.
It uses either https://validator.w3.org/ or v.Nu running locally to validate an entire site.
It crawls a website and in the end makes a report with validator-links to all pages with warnings or errors. Because it crawls, all pages to be validated must be linked.
By running v.Nu locally you can validate an internal site (e.g. an intranet) which is not available online and therefore cannot be validated by online validators (unless you post the entire content of each page).

Where is the documentation for the Google Suggest API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any official documentation on the Google Suggest API?
All my searches for the Google suggest API show pages with either outdated info or non-working scripts.
For example, at google.com, as soon as you type in "app", Google suggests Apple, Applebees, etc.
As you can imagine, it's changed.
The newer URL is now http://clients1.google.com/complete/search?hl=en&output=toolbar&q=YOURSEARCHTERM
Or even more recent:
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=YOURSEARCHTERM
Summary of working examples:
From this question working example:
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=theory
From this question working example:
http://suggestqueries.google.com/complete/search?output=firefox&q=theory
From mhawksey comment above working example:
http://google.com/complete/search?client=chrome&q=theory
Here client=chrome can be changed to other browser client. For example for Firefox it will look like:
http://google.com/complete/search?client=firefox&q=theory
From mahoor13 comment above working example:
google.com/complete/search?output=toolbar&q=theory
From dhiraj-pandey answer "if you want country specific suggests, you need to add &gl= in the url". That only works with links for toolbar!
So for example working country specific example for India will be:
google.com/complete/search?output=toolbar&q=theory&gl=in
To separate words use %20 or + between them. For example:
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=a%20mykeyword
or
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=a+mykeyword
Also from here it possible to get two suggestions with YQL (first sugestion chuck norris, second steven seagal):
select * from xml where url in (
‘http://google.com/complete/search?output=toolbar&q=chuck+norris’,
‘http://google.com/complete/search?output=toolbar&q=steven+seagal’
)
Using above code gives:
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%20in%20%28%27http%3A%2F%2Fgoogle.com%2Fcomplete%2Fsearch%3Foutput%3Dtoolbar%26q%3Dchuck%2Bnorris%27%2C%27http%3A%2F%2Fgoogle.com%2Fcomplete%2Fsearch%3Foutput%3Dtoolbar%26q%3Dsteven%2Bseagal%27%29&format=xml&diagnostics=false
Some info from google about suggestions: http://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/xml_reference/query_suggestion.html
Try http://google.com/complete/search?output=json&q=YOURSEARCHEDTERM or for XML output http://google.com/complete/search?output=toolbar&q=YOURSEARCHEDTERM
http://answers.oreilly.com/topic/1526-how-to-use-the-google-suggest-api-to-come-up-with-topics-for-answers/
I also found very interensting tool which use the Google Search API and it is based on Python and Flask ubersuggest and keysuggest's Googlealphabet soup method tool.
As #Harvest316 said, you can use those urls to get suggestions, but if you want country specific suggests, you need to add &gl= in the url. For example, if I search for India, it will be
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=YOURSEARCHTERM&gl=in
Hi I'm the author of Übersuggest the tool mentioned by JonnyPea. There is no official Google Suggest API: the URL I and other people use is just something we have found hacking around Google. Here's a couple of advice:
Have a look at my application source code on Bitbucket (beware:
I'm an hobbyist programmer so my code cold be improved a lot)
Do not call the API thousands times from the same IP or you will be banned.
[UPDATE]
Sorry the source code is no more available
There is a working API that pulls data from Google Suggest (along with YouTube, Bing and App Store): http://keywordtool.io/api
Using this API you wouldn't need to worry about the number of requests from the same IP etc.
Google doesn't have an official API to share autocomplete data, moreover it often hides keywords that appear in Google suggest from Google Keyword Planner.
Note this API is by paid subscription and starts at $280 / month.

Resources