API and bitflag question
-
I've googled and read and still confused on this.
Regarding the link metric bit flags:
http://apiwiki.seomoz.org/link-metrics
I understand everything about how the API works and have it all working, except for this bit flag thing... And there's no example on this page of how to use the bit flags in an API request so it's hard to work it out.
My current API call is:
"http://lsapi.seomoz.com/linkscape/" & $db & "/" & $objectURL & "?
SourceCols=" & $SourceCols &
"&TargetCols=" & $TargetCols &
"&Scope=" & $Scope &
"&Sort=page_authority" &
"&Filter=" & $Filter &
"&AccessID=" & $accessID &
"&Expires=" & $expires &
"&Signature=" & $urlSafeSignature
There are 4 Link Metric Bit Flags: 2, 4, 8, and 16. How do I use those in the above URL
Do I use those in SourceCols? And there's about 15 Link Flag Definitions (ranging from 1 to 65536). So I use those in TargetCols?
I've tested different variations and I get different responses but the responses aren't documented either.
For example, if I get "luutrp":5.432777943351583,"luutrr":1.415861867916131e-14" in a response... what IS luutrp or luutrr.
These acronyms are not outlined anywhere that I can find.
This link:
http://www.seomoz.org/ugc/the-busy-developers-guide-to-seomoz-bit-flags
outlines an example but is using Cols (not SourceCols or TargetCols) so either this page is outdated or I'm missing something. Is there also a "Cols" parameter?
Basically, I just want: - given a single URL, show me all links (page to page) pointing to that URL, and give me the same information that's displayed in Open Site Explorer (page authority, anchor text, title, etc, etc) but also give me some additional information such as, "is it on the same C block?"
What's an example URL for the above request?
Really hoping someone can shed some light on this under-documented API.
-
Hey Adam! I switched it to answered because, as Joel mentioned in his message, you'll be able to get the best response by posting your question to our Dev Discussion forum. I'm so sorry if I marked it as answered prematurely, though! I've switched it to unanswered if you need anything else that we can help you out with through this Q&A forum.
-
Yes I think my email was playing up as I missed a few emails in recent days.
Why is this quesiton marked as answered?
How did that happen?
-
Hi Adam! This is Megan from the SEOmoz Help Team. It looks like Joel responded to your ticket on November 26th. Maybe it went to your spam folder? Here's what he wrote:
"Hey Adam,
Thanks for reaching out.
First off, I would encourage you to post your question to our Dev Discussion forum: http://seomoz.zendesk.com/forums/293196-developer-discussion-group. Our engineering community monitors that and you will probably get a response within 48 hours.We prefer to do any API support through our forum because that way other people in the community can benefit from the discussion. Making the support scalable allows us to keep offering the API as a free service. I hope you understand.
That being said, I would spend more time reading through the APIwiki. This page: http://apiwiki.seomoz.org/response-fields explains more about the different response fields you're going to see.
Looking forward to seeing your post in the Dev Discussion group!
Best,
Joel"I hope this helps!
-
Sorry about that Adam. I sent an email to a couple helpful Mozzers. I am sure one of them will respond very soon.
-
Hi Ryan,
Thanks but I'm actually posting here because it's been several days and no response from my ticket.
So not sure what to do
-
Hi Adam,
Hopefully you will receive a response. If not, I suggest you go to http://www.seomoz.org/help and submit a ticket.
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
-
Question for Moz developers - Highcharts?
So, I see that Moz is using Highcharts as it's charting display engine. What made you decide to use them instead of some of the other solutions out there, like FusionCharts or Google Charts, even creating your own home-made creation?
Moz Pro | | MrSchadow
Our company is starting over from scratch with reports/charts and are looking at other solutions than what we currently are using (fusioncharts/fusion widgets). And I wanted to get feedback on why you chose this route over any other. Thanks!!0 -
SEOMoz API not working for Scrapebox
I want to import SEOMoz data to list of URLs I have using scrapbox. I added in my credentials according to the API but am getting error 401 as the status of all my links. Any idea why and what I should be doing?
Moz Pro | | theLotter0 -
Mozscape API Problem With Credentials
Yello everyone 🙂 Yesterday I generated Access ID and Secret Key to try the API, but it didn't work. It's said that it might need 5 minutes, so I gave it something like 8 hours but it still didn't work afterwards. I used the PHP sample and I checked it with the Sample Expires value and it produces the same Signature parameter as in the Sample Valid API Signature, so the PHP code sample and the Sample Valid API Signature are in sync. In case you wonder - yes I changed the PHP sample by adding the valid strings for $accessID and $secretKey - I'm a long time programmer and I know what I'm doing with it. I tried also the example URL from Sample Valid API Signature couple of times, refreshing each time to get new Expire parameter, but it's not working too. Both the PHP sample and the Sample Valid API Signature are giving me this: **{ "status" : "401", "error_message" : "Your authentication failed. Check your authentication details and try again. For more information on signed authentication, see: http://apiwiki.seomoz.org/w/page/29574176/SignedAuthentication" }** I am new here and if there is another place to look for support please just point it out and excuse me for wasting your time - I just couldn't see it and I really tried. Thank you for your time to read this! Calvin Your Access ID:
Moz Pro | | Calvin50 -
Free API
I have a problem. I got my api credencials. I use the example from this site http://www.seomoz.org/ugc/seomoz-api-lab-experiment-ajaxed-page-comparison-tool I changed the credentials data and.. All I got is Service Unavailable or Authentication failed. Do I have to add my application on http://apidash.seomoz.org/users/392511/applications to get it work? Whats wrong. My id is member-3f4c13759d
Moz Pro | | traffictrends0 -
SEOmoz crawl error questions
I just got my first seomoz crawl report and was shocked at all the errors it generated. I looked into it and saw 7200 crawl errors. Most of them are duplicate page titles and duplicate page content. I clicked into the report and found that 97% of the errors were going off of one page It has ttp://legendzelda.net/forums/index.php/members/page__sort_key__joined__sort_order__asc__max_results__20 http://legendzelda.net/forums/index.php/members/page__sort_key__joined__sort_order__asc__max_results__20__quickjump__A__name_box__begins__name__A__quickjump__E etc Has 20 pages of slight variations of this link. It is all my members list or a search of my members list so it is not really duplicate content or anything. How can I get these errors to go away and make search my site is not taking a hit? The forum software I use is IPB.
Moz Pro | | NoahGlaser780 -
How do I find questions with new responses?
I'm really enjoying hanging out here so far. I was wondering if there is an easy way to find out which of the discussions that I am taking part in have new responses in them. I know I get an email whenever a question I have subscribed to gets an answer, but is there a way to see this when I am on the website? I see that I can go to "My questions" and "Questions I have asked" or "Questions I have answered" but on that screen it doesn't tell me which one(s) of those questions have new answers. Am I missing something?
Moz Pro | | MarieHaynes1 -
Where can I view all of the Questions that I have Subscribed to?
I recently asked a question about viewing the questions I have answered already: http://www.seomoz.org/q/where-can-i-view-all-of-the-questions-that-i-have-answered It turns out the link was right under my nose (but it appears a lot of people were having this issue). I'm now having the problem of not being able to see where I can view all the Q&As that I have subscribed to. Again, I may just be missing a link that's right in front of me but it certainly isn't obvious. Any help much appreciated!
Moz Pro | | NickPateman810