Re: Problem using Blogger API on private blog

"'Brett Morgan' via Blogger Developer Group" <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <CAAFdGSdq2c0_8OG1LDFk4SuW9S5eo=jj84BsNBqcMuyFrF9Ecw@mail.gmail.com>
Hi Tuomas,

I suspect the issue here is that Blogger is not set up for being used from
Service Accounts.

brett

On Thu Dec 11 2014 at 10:28:16 AM <[email protected]> wrote:

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

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.