I have not used java in a long time, but there should be a "next_page"
key in the map you create from the json response.  Here is an example
json response with rpp=1 for "hello":

{"results":[{"text":"hello","to_user_id":null,"from_user":"fsas1975","id":1450457219,"from_user_id":6788389,"source":"<a
href="http:\/\/twitter.com\/">web<\/a>","profile_image_url":"http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/117699880\/514HjlKzd1L__AA280__normal.jpg","created_at":"Sat,
04 Apr 2009 06:59:57
+0000"}],"since_id":0,"max_id":1450457219,"refresh_url":"?since_id=1450457219&q=hello","results_per_page":1,"next_page":"?page=2&max_id=1450457219&rpp=1&q=hello","completed_in":0.013591,"page":1,"query":"hello"}

The part you are interested in is this:
"next_page":"?page=2&max_id=1450457219&rpp=1&q=hello"

you can construct the next page url by appending this value to:
"http://search.twitter.com/search.json";

-Chad


On Sat, Apr 4, 2009 at 2:55 AM, Basha Shaik <basha.neteli...@gmail.com> wrote:
> Hi i am using java. We parse the json response. and store the value as key -
> value pairs in a Map.
>
> In the reponse no wahere i found next_url or next_page.
> Can you tell me how we can store all json data in a variable.
>
> Regards,
>
> Mahaboob Basha Shaik
> www.netelixir.com
> Making Search Work
>

Reply via email to