HomePHP Page 4 - Count Backlinks from Unique Domains Using Yahoo Inbound Links API
Implementation Flow - 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.
The complete and detailed implementation flow for this application should look like this:
The web form is first presented to the user. They will enter the root domain URL, for example: http://www.thisistherootdomainurl.com . After that, the user will decide if he or she is interested in the number of back links pointing to the entire domain (home page + inner pages) or only to the specific root domain URL (home page only).
When the form is submitted, PHP will process the user inputs and then establish a connection to the Yahoo API. Details of the request will be sent, for example the Application ID, Requested Domain URL, and additional options (entire domain or to specific URL).
If the application ID is valid, the Yahoo API will send the request back to the server. PHP will receive the request, and then analyze the data by filtering for unique domains. For example, if PHP receive the series of back link URLs seen below: