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
-
Linkscape API Sort calls
I'm using Linkscape API plugin from SEO Gadget. It's all fine but I can't find any documentation on other 'sort' calls. The only request that I knows that works is "domains_linking_page". Any idea where this information is? I was hoping for a list of all the available requests I can and more particularly I want to sort it by Internal Linking Domains.
Moz Pro | | iProspect-397560 -
How do I collect all links through the SEOMoz API?
How do I collect all links through the SEOMoz API? Yes, I know how to pull url metrics info but want to pull the inbound links only via php script w/out having to go to the OSE page to pull. any suggestions would be great!
Moz Pro | | destdigi0 -
Seomoz keyword difficulty api
Is there a way to get this from an api or a better method than pasting 5 keywords at a time into the keyword difficulty tool to get these numbers?
Moz Pro | | insitegoogle0 -
Conical tag question
I have now 124 notices showing rel = conical as follow , can you please advise are they ok , they might be due to new wordpress plugin URL: http://www.domain.com Tag value http://www.domain.com are they ok ? Although they look same but then why are they there , how can i remove them in word press and is there any reason for them to be left or removed . My site always uses www, if you put non www address it resolves automatically to www. My ranking have suddenly dropped as well . can it reason . I am aware of new update .
Moz Pro | | HateDoingSEO0 -
Some questions on Canonical tag AND 301 redirect
Hi everyone, I'm new here - always loved SEOMoz and glad to be part of the Pro community now. I have 2 questions regarding the Canonical URL tag. Some background info: We used to run an OsCommerce store, and recently migrated to Magento. In doing so, we right away created 301 redirects of the old category pages (OsCommerce) to the new category pages (Magento) via the Magento admin. Example: www.example.com/old-widget-category.html
Moz Pro | | yacpro13
301 redicrected to
www.example.com/new-widget-category.html In Magento admin, we have enabled the Canonical tag for all product and category pages. Here's how Magento sets up the Canonical tag: The URL of interest which we want to rank is:
www.example.com/new-widget-category.html However Magento sets up the canonical tag on this page to point to:
www.example.com/old-widget-category.html When using the SEOMoz On Page Report Card, it pick this up as an error because the Canonical tag is pointing to a different URL. However, if we dig a little deeper, we see that the URL being pointed to
www.example.com/old-widget-category.html
has a 301 redirect to
www.example.com/new-widget-category.html
which is the URL we wan to rank. So because we set up a 301 redirect of the old-page to the new-page, on the new-page the canonical tag points to the old-page. Question 1)
What are you opinions on this? Do you think this method of setting up the Canonical tag is acceptable? Second question... We use pagination for category pages, so if we have 50 products in one category, we would have 5 pages of 10 products. The URL's would be: www.example.com/new-widget-category.html (which is the SAME as ?p=1)
www.example.com/new-widget-category.html?p=1
www.example.com/new-widget-category.html?p=2
www.example.com/new-widget-category.html?p=3
www.example.com/new-widget-category.html?p=4
www.example.com/new-widget-category.html?p=5 Now ALL the URLs above have the canonical tag set as:
<link rel="canonical" href="http://www.example.com/new-widget-category" /> However, the content of each page (page 1, 2, 3, 4, 5) is different because different products are displayed. So far most what I read regarding the Canonical tag is that it is used for pages that have the same content but different URLs. I would hope that Google would combine the content of all 5 pages and view the result as a single URL www.example.com/new-widget-category Question 2) Is using the canonical tag appropriate in the case described above? Thanks !0 -
About Links API
I'ma Japanese, So, I'm sorry in poor English.
Moz Pro | | flaminGoGo
Question about the API.
Will be returned as unauthorized api 'links' to the following request. http://lsapi.seomoz.com/linkscape/links/domain/blog?Scope=page_to_page&Sort=domain_authority&AccessID=xxx&Expires=xxx&Signature=xxx Is it OK in the request parameters?0 -
I want to hire someone to write some PHP code using the SEOmoz API.
...but I'm not sure how to go about it. What I need is simple: all I want is to be able to paste a list of URLs (different domains), and have the program return the Page Authority for all those URLs. I understand I can use the free SEOmoz API, particularly the URL Metrics API. Then I want to export the data to an Excel file. That's it. Problem is, I have absolutely no clue how to do it. Obviously I'd pay someone to do it. Pay very well if you can do it professionally and quickly. How can I go about finding the right person for the job? Apologies if this is not the right place to ask this, but I don't know where else to go. Thanks.
Moz Pro | | thegreatpursuit0