-
-
Save mammuth/9f2c5b2235a35875454c to your computer and use it in GitHub Desktop.
<?php | |
// Use: Add following url parameters: | |
// link: The url you want to get the backlinnks from (required) | |
// siteFilter: The site your backlinks should come from (eg. twitter.com) (optional) | |
function getJsonObject($link, $site) { | |
return json_decode(file_get_contents("https://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=link:$link+site:$site"), true); | |
} | |
$link = $_GET["link"]; | |
$siteFilter = $_GET["site"]; | |
$jsonObject = getJsonObject($link, $siteFilter); | |
// echo "Number of backlinks: ".$jsonObject['responseData']['cursor']['resultCount']; | |
?> |
not working Now API
The following ways have been depicted by google we get the following message
{"responseData": null, "responseDetails": "The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)", "responseStatus": 403}
I found a few articles on blogpreneur.org regarding the same.
My website link is added in my profile page. But it is not showing as a backlink in ubersugest OR semrush
https://programmingdive.com
This code is not working for me in PHP 7. Is there any other way without API's? All other back links websites show only few links, otherwise i have to pay. Google search cosole shows 1600 backlinks, but Ahref shows 5500 backlinks for my site aoz-artisans. Why there is a big differents between the Google and Ahref?
Please create some backlink for my site
http://freespinscoin.com
I was looking for a solution for this SEO tool
thanks for the script Mangaip Blog
thanks
https://banklive.net
Is this code still works in 2022?
Thanks
Warta Tambang
not working..
https://pastepe.com/
not working...
not work for https://programmerdesk.com
nice post saas marketing agency
Not work for me. See https://bangtra.com/101backlink
Thanks for sharing, I hope this code works for https://www.ikaunissula.or.id
Just to check again https://devwithshams.com/
Hello Can anyone tell me the right and updated way to create a backlink checker function.
By the way i was searching backlinks of this website www.crickbatstips.com .
There are many websites but they are just showing the limited no. Of backlinks. Thats why iam looking for a script that can show me all the backlinks. Thanks