API samplecode is not working
-
Hi,
I'm new to MOZ API, used their sample code and tested by changing some constant values, but it is generating following error when tried to access link metrics sample code. http://localhost/moz/php/complete/examples/
Undefined variable: postParams in C:\wamp64\www\moz\php\complete\services\links_service.php
Screenshots attached for reference.
-
Hello!
Can you provide a screenshot of what you have in link_service.php on line 80? This appears to be where the undefined error is reporting for. You may want to consult with a developer to troubleshoot as we are limited to providing dev support.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
On page Grader is not working on blogvali.com
Hope you people are doing well. I am getting error while using MOZ onpage grader. Page Optimization Error There was a problem loading this page. Please make sure the page is loading properly and that our user-agent, rogerbot, is not blocked from accessing this page. ScreenShot of error: http://prntscr.com/v2wv3f My Site link: https://blogvali.com/ v2wv3f
Getting Started | | ismailvela0330 -
Moz site crawl doesn't work
The Moz site crawl isn't working for my campaign, but works for the site's on demand crawl. The search should not be disallowed by robots.txt or the headers. I'd like to be able to track the website for the campaign so I can see SEO gains / losses and increases / decreases in indexing.
Getting Started | | DrainKing0 -
Why does the MOZ bar not work on SERPs with site links?
Maybe a dumb question (am a beginner), but MOZ bar shows no information on SERP results with site links? I'm sure there's a reason? What is it?
Getting Started | | RionHaber0 -
Why has my website stopped working?
Signed up to Moz and my site is now down as it's "gathering data". Is this normal?
Getting Started | | BurrowsPT0 -
How Do I Scan My New Site & Grade My Work With The Robots Turned Off? For Pre-Inspection before I launch my Site?
I have a new site that has all the bots turned off so google can't index my site until I'm finished it. I've been working on this site for a couple months now optimizing and I was wondering if there was anyway I can run a preliminary scan on the site for my titles, URLs, Headers, Alt Tags and pretty much anything else that will grade my work and tell me if i did anything wrong? Can MOZ do this with the Bots turned off? Thanks
Getting Started | | Inframan0 -
How long after sign up does the on page grader take to work?
Everything I enter comes back with a grade F and 0s across all spectrums. I know this isn't the case so cannot understand it.
Getting Started | | Swifty19810 -
New to MOZ and working with Web Mentions. Can I use operators?
Our name is HostDime but often put as Host Dime (2 words) by news sources and other sites. How do I set up my brand mention so I only get a notice when both words appear, in order, together. I don't want "That host is a dime" and such. Can I use a +Host +Dime?"Host Dime"? Do these operators work in MOZ?
Getting Started | | hostdime0