HomePHP Page 3 - Count Backlinks from Unique Domains Using Yahoo Inbound Links API
Implementation Concept - PHP
If you've just started using the Yahoo Site Explorer Inbound Links API and want to know how far you can take it, keep reading. This three-part series will show you how to build an application that can help you track your links.
Before we dive into the details of programming, we should first formulate the concepts that will govern the implementation. The following is the native flow of the Yahoo Inbound Links API using PHP:
The PHP web application will be the first one to establish communication to the Yahoo API, and then the Yahoo API will examine the application ID. If it is valid, it will output the requested Yahoo API data back to the user.
Since you need to count back links coming from unique domains pointing to a specific targeted domain, you need to have “Domain URL” as the most important user input, which should preferably be the canonical home page URL. Yahoo Site Explorer API does not take the www and non-www versions as the same. This means that if the query to the API is www.php-developer.org , this result will be entirely different if only the non-www version is used: php-developer.org.
For example, it is entirely possible for Yahoo Links API to return 583 back links for the www version of the entire site, but no links (zero) for the non-www version.
In SEO, you should be interested in the overall number of back links (coming from unique domains) pointing to the entire domain, not only the home page URL. The higher the number of links to the entire domain, the more authoritative the domain will be. However since it is possible for Yahoo Links API to return the number of links pointing to the entire domain or only to a specific page, these can be added as an option in the web form.
Bear in mind that “back link obsession” is not recommended; this data should only serve as a guide in formulating general strategies. You should not worry about each little detail.