eyecatchup / SEOstats

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

Could not fetch Google Page Rank or Alexia metrics #97

Closed KickassCoxa closed 9 years ago

KickassCoxa commented 9 years ago

Hello. Just installed SEOstats, awsome work!

Some examples are working. But when i try Alexia metrics i get fallowing:

Alexa metrics for http://www.google.de/ Global Rank: n.a. Country Rank: n.a. Total Backlinks: n.a. Page load time: n.a.

For checking Google Page Rank i get fallowing: The current Google PageRank for http://www.nahklick.de/ is n.a..

ClemensSahs commented 9 years ago

What version of SeoStats did you use? You problems was kown for the last stable version.

The beta work stable enough and fix this problems.

For the case that you run the last beta please give some more informations.

Thx for feedback

KickassCoxa commented 9 years ago

I used current master brach. How could i provide you with more information? There are no errors shown.

ClemensSahs commented 9 years ago

$ php55 ./example/get-google-pagerank.php The current Google PageRank for http://www.nahklick.de/ is 2.

$ php55 ./example/get-alexa-metrics.php Alexa metrics for http://www.google.de/ Global Rank: 24 Country Rank: 1 (in Germany) Total Backlinks: n.a. Page load time: n.a

run with phpunit looks fine too

.......................................................I.......  63 / 224 ( 28%)
............S...SSSSS.......................................... 126 / 224 ( 56%)
............................................................... 189 / 224 ( 84%)
................IIIIIIIIIIIIIIIIIII

So for me every looks good... my tipps:

KickassCoxa commented 9 years ago

Google Page Analysis works fine (I included API key). But as i said before, Page Rank or Alexa Metrics does not fetch as should. Do you know any possible topics, why it could be?

ClemensSahs commented 9 years ago

I Kown that only google page rank and Alexa don't work for you. But as I say before, I'm sure that you use the current stable. Because this problems are kown in stable and fixed in beta.

The last tow points give you the ability tow check this case. For the case you have the current beta / dev master. You are perhaps on a blacklist.

Sorry to say that but the code of beta4 works fine for me. (Tests/example both say everything is fine)

In that case it's hard for me to help you without more informations. Like debugging.