Commit 2d0b89cd authored by Dr. Daniel Diaz Sánchez's avatar Dr. Daniel Diaz Sánchez
Browse files

Update README.md

parent 95f8dd29
Este proyecto NO se puede clonar. Lee las instrucciones al final de la página.
Este proyecto NO se puede clonar.
# Acceso a interfaces REST. Descarga masiva de Tweets
......@@ -599,11 +599,11 @@ public class TwitterCrawler {
getReq = Unirest.get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name={screen_name}&count={count}&max_id={max_id}")
.routeParam("screen_name","realmadrid")
.routeParam("count","200")
.routeParam("max_id", max_id-1)
.routeParam("max_id", ""+(max_id-1))
.header("Authorization", "Bearer " + bearer_token);
json_str_Response = getReq.asString();
System.out.println("Json : " + json_str_Response.getBody());
tweet_list.add(Tweet.deserializeJsonArray(json_str_Response.getBody()));
tweet_list.addAll(Tweet.deserializeJsonArray(json_str_Response.getBody()));
Unirest.shutdown();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment