Commits

Hideya OHASHI committed 0b07aaf

show latest 4 checkin venues from users history

Comments (0)

Files changed (1)

src/com/appspot/ktai4sq/VenuesServlet.scala

     req
   }
   def history(token: String, secret: String): Elem = {
-    val urlf = "http://api.foursquare.com/v1/history"
+    val urlf = "http://api.foursquare.com/v1/history?l=4"
     val req = getHTTPRequest(urlf, HTTPMethod.GET, token, secret)
     val c = URLFetchServiceFactory.getURLFetchService().fetch(req).getContent()
     XML.loadString(new String(c, "UTF-8"))