Problem using Blogger API on private blog
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Our company is trying to use Blogger API to get posts on our site from
private/not public Blogger blog. Everything seems to work fine when blog is
*public* but when it is in *private* mode the api returns 404.
Current stack:
- Java/Spring
- Blogger API through *service account*
We first build OAuth2 credential with *GoogleCredential.Builder* and use
that credential in *Blogger.Builder* which returns Blogger instance. After
that we do blogger.blogs().get("[BLOG_ID]") and execute blogGetAction.
This works on *public blog* id as mentioned up above, but when used for
blog that has *private setting* on returns 404. On google OAuth-playground
this works also on *private blog*, when blog-owner is signed in.
We have private key for service account and it seems to work fine and it
has correct scope for using *Blogger API* (BloggerScopes.BLOGGER_READONLY).
What we have to change to make this work? Authenticate with real user or..
Any support is welcome, thanks in advance!
Best regards,
Tuomas Vapaavuori
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.