Re: Blogger API correctly returns results of listByUser, but returns "403 Forbidden" when asked to list posts.

Brett Morgan <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <CAAFdGSem40_4GesWHEu4GU8q22f=eV2=AGBLgztysihxsswmKg@mail.gmail.com>
Hi Brian,

If you make the API calls without authenticating, then we respect the RSS
settings. If your blog is set to have no RSS feed, then unauthenticated
requests will not be able to retrieve posts, so as to prevent people
side-stepping the restriction you notated on RSS feeds by accessing your
blog via this API end point instead.

Please either turn on RSS feeds, or make the requests authenticated as a
user with the rights to view the list of posts.

brett


On Mon, Mar 24, 2014 at 7:37 AM, Brian McClintock <
[email protected]> wrote:

> Hi Brett
>
> With further investigation this morning I have realised these API calls
> work if I change the blog ID to that of a public blog, which tells me the
> problem must be something to do with the security settings on my own
> (non-public) blog.
>
> Do I need to change one or more settings on my "McClintocks Abroad" blog?
>
> Regards
> Brian
>
>
> On Monday, March 17, 2014 1:26:54 PM UTC+13, Brett Morgan wrote:
>
>> Heya Brian,
>>
>> Any chance of you cutting and pasting me the URL of the failing
>> blogger.posts.list query from the APIs Explorer? (The URL contains the all
>> important blog ID, along with anything else you have set.)
>>
>> brett
>>
>>
>> On Sun, Mar 16, 2014 at 11:21 AM, Brian McClintock <[email protected]
>> > wrote:
>>
>>> I am new to the Blogger API.  I have worked with Brett's javascript
>>> Blogger CKEditor example, substituting my own client Id and API key, and
>>> find that it correctly logs in, returns an access key, and lists my blogs
>>> (I have just one).  However when I attempt to list posts (using
>>> *gapi.client.blogger.posts.list*) it fails, returning "Forbidden".
>>>
>>> I have had the same experience using the Google APIs Explorer, with
>>> Oauth turned on.  It too lists my blogs, but fails on ...posts.list() and
>>> ..pages.list().
>>>
>>> Any pointers would be appreciated.
>>>
>>> Brian
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>>
>> Brett Morgan | Developer Relations Engineer, Google Maps |
>> [email protected] | profiles.google.com/brettmorgan
>>
>  --
> 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.
>



-- 

Brett Morgan | Developer Relations Engineer, Google Maps |
[email protected] | profiles.google.com/brettmorgan

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