eyecatchup / SEOstats

SEOstats is a powerful open source PHP library to request a bunch of SEO relevant metrics.
MIT License
1.47k stars 387 forks source link

Mozscape / OSE not working #103

Open clinttepe opened 9 years ago

clinttepe commented 9 years ago

I am able to use all the other SEOstats features that I have tried out so far, but neither the Mozscape methods or their Open Site Explorer methods are working for me. I have the API keys setup, and am not seeing any errors other than several instances of PHP Notice: Trying to get property of non-object in /var/www/html/SEOstats-master/get-opensiteexplorer-metrics.php.

Perhaps some things have changed on their end? Here is their PHP example code for their API (which I will look at in depth soon): https://github.com/seomoz/SEOmozAPISamples/tree/master/php/complete

Cruiser13 commented 9 years ago

+1 - the OpenSiteExplorer.php needs to be changed. It looks for <td> tags that do no longer exist.

ooloncolluphid commented 8 years ago

Hope this is useful... yesterday I pulled down latest version, and I have applied my Moz API key/secret values but get this error when running get-mozscape-metrics:

Caught SEOstatsException: In order to use the Mozscape API, you must obtain and set an API key first (see SEOstats\Config\ApiKeys.php).