Re: Issue with Search call
Alessandro De Carne <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Nobody found a solution? Il giorno lunedì 29 giugno 2015 04:03:10 UTC+2, Will Robertson ha scritto: > > Looks like its been 3 years and this bug still exists. Search returns a > nextPageToken but it does not allow you to use it... :/ > > On Wednesday, November 21, 2012 at 7:06:50 PM UTC-7, Brett Morgan wrote: >> >> Yup, it's a known problem. I'm working on a fix. >> >> brett >> >> >> On Sun, Nov 18, 2012 at 8:54 AM, Leon Lucardie <[email protected]> >> wrote: >> >>> I'm having a issue with the search call of the Blogger API. >>> A normal call works fine, but whenever I try to retrieve further pages >>> with the nextPageToken I keep getting the same result. >>> >>> What could be the problem here? >>> >>> My http logs as an example: >>> >>> This is the first request I make (without a page token): >>> >>> 2012-11-17 21:19:01 +0000 >>>> Request: POST https://www.googleapis.com/rpc?prettyPrint=false >>>> Request headers: >>>> Accept: application/json-rpc >>>> Cache-Control: no-cache >>>> Content-Type: application/json-rpc; charset=utf-8 >>>> User-Agent: <OMITTED> >>>> >>>> Request body: (181 bytes) >>>> { >>>> "id" : "gtl_3", >>>> "apiVersion" : "v3", >>>> "params" : { >>>> "q" : <OMITTED>, >>>> "key" : <OMITTED>, >>>> "blogId" : <OMITTED> >>>> }, >>>> "method" : "blogger.posts.search", >>>> "jsonrpc" : "2.0" >>>> } >>>> >>>> Response: status 200 >>>> Response headers: >>>> Cache-Control: no-cache, no-store, max-age=0, must-revalidate >>>> Content-Encoding: gzip >>>> Content-Length: 39784 >>>> Content-Type: application/json; charset=UTF-8 >>>> Date: Sat, 17 Nov 2012 21:19:01 GMT >>>> Expires: Fri, 01 Jan 1990 00:00:00 GMT >>>> Pragma: no-cache >>>> Server: GSE >>>> X-Content-Type-Options: nosniff >>>> X-Frame-Options: SAMEORIGIN >>>> X-Xss-Protection: 1; mode=block >>>> >>>> Response body: (202394 bytes) >>>> { >>>> "id" : "gtl_3", >>>> "result" : { >>>> "kind" : "blogger#postList", >>>> "nextPageToken" : "CgkIChiB04DgrycQqq6Mr9WqpPIZ", >>>> "items" : [ >>>> <POSTS OMITTED> >>>> ] >>>> } >>>> } >>> >>> >>> And this is the request http log from the second call and onward with >>> the page identifier added: >>> >>>> >>>> 2012-11-17 21:19:27 +0000 >>>> Request: POST https://www.googleapis.com/rpc?prettyPrint=false >>>> Request headers: >>>> Accept: application/json-rpc >>>> Cache-Control: no-cache >>>> Content-Type: application/json-rpc; charset=utf-8 >>>> User-Agent: <OMITTED> >>>> >>>> Request body: (224 bytes) >>>> { >>>> "id" : "gtl_7", >>>> "apiVersion" : "v3", >>>> "params" : { >>>> "pageToken" : "CgkIChiB04DgrycQqq6Mr9WqpPIZ", >>>> "q" : "<OMITTED>, >>>> "key" : <OMITTED>, >>>> "blogId" : <OMITTED> >>>> }, >>>> "method" : "blogger.posts.search", >>>> "jsonrpc" : "2.0" >>>> } >>>> >>>> Response: status 200 >>>> Response headers: >>>> Cache-Control: no-cache, no-store, max-age=0, must-revalidate >>>> Content-Encoding: gzip >>>> Content-Length: 39784 >>>> Content-Type: application/json; charset=UTF-8 >>>> Date: Sat, 17 Nov 2012 21:19:27 GMT >>>> Expires: Fri, 01 Jan 1990 00:00:00 GMT >>>> Pragma: no-cache >>>> Server: GSE >>>> X-Content-Type-Options: nosniff >>>> X-Frame-Options: SAMEORIGIN >>>> X-Xss-Protection: 1; mode=block >>>> >>>> Response body: (202394 bytes) >>>> { >>>> "id" : "gtl_7", >>>> "result" : { >>>> "kind" : "blogger#postList", >>>> "nextPageToken" : "CgkIChiB04DgrycQqq6Mr9WqpPIZ", >>>> "items" : [ >>>> <POSTS OMITTED (Same items as last request)> >>>> ] >>>> } >>>> } >>>> ----------------------------------------------------------- >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Blogger Developer Group" group. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/bloggerdev/-/AvfsglIK1JMJ. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/bloggerdev?hl=en. >>> >> >> >> >> -- >> >> Brett Morgan | Developer Relations Engineer, Google+ | >> [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 https://groups.google.com/group/bloggerdev. For more options, visit https://groups.google.com/d/optout.