Hi Brett,
How do I configure Blogger being used from Service Accounts (I have private
key (p12-file) and I assume to I have used it properly in my java
implementation)? Blogger API has been enabled (thanks for that:) ) but I
can't get the posts from the blog (which is made private).
Is it possible that service account do not have rights to private blog
which has only one writer (our company's google email-account). Is it
possible to add service account email address to blog writers list. I tried
that but it didn't work..
Best regards,
Tuomas Vapaavuori
On Thursday, December 11, 2014 1:31:07 AM UTC+2, Brett Morgan wrote:
>
> 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] <javascript:>> 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] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> 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.