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 -
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 -
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 -
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 -
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