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
-
API for On Page tool
I'm looking for a tool similar to On Page Grader (Moz) or Focus Keyword (Yoast) with API. We are building out or internal CRM system. Even though none of these tools can replace manual on page analysis, it will be used as a metric and to catch human mistakes.
Moz Pro | | OscarSE0 -
Question about SEO and domains
Hello, Over time we have purchased many domain names that relate to our business. Let us say we sell chairs of type A, chairs of type B, Tables of Type C etc. We also have a main web site (main domain) which has been functioning for many years and is ranked well but not great. Since we have domain chairtypeA.com and chairtypeB.com I was thinking of putting them to good use as follows. STRATEGY A a) Create the domain as a parallel domain but is mainly informational - it talks about chair type A, its history, what to look for etc. It has the same IP address as main domain b) Have all the links on the page be directly linked to the MAIN site- so if you are on page for ChairtypeA and want to see it in a set you just click a link and it takes you to the main site. c) The look and feel of the ChairtypeA site is exactly the same as the main site - in fact except for the Heading, title and content the whole framework is from the main site. My hope is that if people are looking for chairtypeA, we would rank and attract customers. Plus it would use up some of the domain names we have purchased. THE OTHER ALTERNATIVE (Strategy B) is a) Create a domain for chairtypeA parallel to main domain (same IP address) b) redirect it to subfolder in main domain c) refer to the pages also as maindomain/chairtypeA (here is where it is no longer purely parallel) I have 3 objectives a) Use my purchased domain names b) Focus on certain products (liek ChairtypeA) c) Overall increase visibility and ranking Please give me any feedback which indicates whether Strategy A or Strategy B is more effective, or if any has negative consequences. Or you could suggest Strategy C - a completely new approach. Thanks Sam
Moz Pro | | samgold0 -
Question on redirect and internal link count
After crawl I saw that dup content came from domain.com/index.php and domain.com. I was going to redirect one of them but im curious which way to go. The /index.php has domain auth of 19, the other 17, so not big difference. Domain.com has 2 external linking domains and index.php has 1. The big difference is in the internal link counts where index.php has 76 and the other only 4. So should I direct index.php to / or the other way around?
Moz Pro | | satoridesign0 -
I cant generate my Mozscape API
I have tried to generate my Mozscape API numerous times after waiting at least 20 mins between. Any help would be great.
Moz Pro | | MLMLEADZONE1 -
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 -
How to change a Discussions post to a Question
I've opened two discussions recently but they really happen to be more like questions. They were both answered but both posts are still opened : http://www.seomoz.org/q/reading-suggestions-for-a-local-french-small-biz-website http://www.seomoz.org/q/should-i-block-wordpress-archive-and-tag How can I change them back to Question so I can mark them as close? Thanks 🙂
Moz Pro | | Akeif0 -
Do SEOmoz private questions get answered?
I submitted a question on September 30 and never received a response. I then followed up on October 6 and had an exchange with the support staff, who first told me that the question would be answered and then a couple of days later told me that they had no record of the question. By chance, I had taken a screen shot showing confirmation that the question had been sent (just something I did to remind myself to follow up if I didn't get a response!), which I sent to them along with the question again. That was four days ago, and I've heard nothing since then - not even an automated email saying that the question was received. Is it common for it to take almost a month before a response is received, and to have to follow up multiple times just to get an answer?
Moz Pro | | csmm0 -
Opensiteexplorer details in API
Is there a way to access opensiteexplorer result details via seomoz's API? Most interested in the social media results
Moz Pro | | fuzzlepop0