Re: Bugs found in Blogger REST Api in Comments List

"'Brett Morgan' via Blogger Developer Group" <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <CAAFdGSfCyfvuNuLjcoAWcSX0rBtOPj4LvBjLe5m3XOoQr0eu=Q@mail.gmail.com>
Thank you for the report, I've raised something with engineering

On Thu, Jun 25, 2015 at 10:51 AM Ashiq Hassan <[email protected]>
wrote:

> This is a message to Blogger Rest Api Team,
>
> Recently I found a mistake in the Rest Api service for blogger comment
> List ( which  Retrieves the comments for a post, possibly filtered.).
> Actually this *post*
> <http://www.softglad.com/2013/09/crawl-index-your-blog-post-in-google-fast-in-minutes.html>have
> about 14 comments.
>
> *1.* I have filtered the api request to return only 10 items in result
> (maxResults=10) and in the first request it return 10 items and that
> request contains nextPageToken, Below is url for my first request.
>
>
> https://www.googleapis.com/blogger/v3/blogs/5400712194778372073/posts/4889305320916505578/comments?maxResults=10&key={API_Key}
> <https://www.googleapis.com/blogger/v3/blogs/5400712194778372073/posts/4889305320916505578/comments?fetchBodies=true&maxResults=10&key=%7BAPI_Key%7D>
>
>
> *2.* Now i requested for the second result (pagination) with pageToken
> got from first request and it returned me 3 items in result and again
> contain nextPageToken. Below is url
>
>
> https://www.googleapis.com/blogger/v3/blogs/5400712194778372073/posts/4889305320916505578/comments?maxResults=10&pageToken=CgkIChDGy6HG3CgQ6a-K_4fky_lKGOqnn52OqZPtQw&key=
> <https://www.googleapis.com/blogger/v3/blogs/5400712194778372073/posts/4889305320916505578/comments?fetchBodies=true&maxResults=10&pageToken=CgkIChDGy6HG3CgQ6a-K_4fky_lKGOqnn52OqZPtQw&key=AIzaSyBdfKSAZiYbh8tyLjv-D5NWin3Jdu0RDxQ>
> {API_Key}
> <https://www.googleapis.com/blogger/v3/blogs/5400712194778372073/posts/4889305320916505578/comments?fetchBodies=true&maxResults=10&key=%7BAPI_Key%7D>
>
> Here the bugs happens..Actually there are 14 comments in that post. but in
> the first and second request it returned 10 and 3 respectively. Its okay.
> but how the second request result showing nextPageToken without having
>  more comments in that post???
>
> I found this when I'm making blogger mobile app for _ _ _ _ _ _Platform ...
>
> Please fix it. I hope i didn't violate or disturbed the reader this forum..
>
> *Thankyou..*
>
> --
> 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.