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.
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 -
Why does Moz only seem to be crawling a snap shot of the site I am working with?
I was wondering if anyone can help? I am working using Moz to help improve the SEO on a website I am working with, the website contains thousands of pages, yet for some reason Moz only seems to be crawling a small snap shot of the website. I know there are particular pages that I had added a couple of weeks ago - about 300 in total - and none of these were showing on the first crawl, so I did another on-demand crawl and some of these showed up then. Despite this, it says it crawled 700ish pages, but there are getting close to 20-30ish thousand live pages on the site. Any thoughts and guidance as to why they crawling may be stopping?
Getting Started | | dsmith8020200 -
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 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 -
MOZ Guru Needed for Freelance Work
Hello -- I'm new to Moz and wanted to know if any community members were available for freelance work to help me fine-tune the setup of the Moz account for one of my clients. This could lead to additional work for other clients of my advertising agency.
Getting Started | | KRT0 -
Google+ Not Working in my Profile
I would like to add my Google+ and Facebook addresses in my profile but when I do it says my vanity names are not correct. I am copying and pasting directly from the Google+ page and Facebook page so I do not know what to do. When I do try to just add the numbers for my Google+ page that is not working either. Thanks - Travis
Getting Started | | TravG1230 -
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