Package net.unto.twitter.TwitterProtos

Examples of net.unto.twitter.TwitterProtos.Geocode


  }

  @Test
  public void testSearchRequestUrl() {
    Api api = Api.builder().username("test").password("test").build();
    Geocode geocode = Geocode.newBuilder().setLatitude(40.757929).setLongitude(
        -73.985506).setRadius(25).setUnit(Geocode.Unit.KILOMETERS).build();
    Request request = api.search("foo").geocode(geocode).page(1)
      .resultsPerPage(10).sinceId(12345).lang("en").showUser(true)
      .fromScreenName("dewitt").toScreenName("test").build();
    assertEquals("http://search.twitter.com:80/search.json", request.toString());
View Full Code Here

TOP

Related Classes of net.unto.twitter.TwitterProtos.Geocode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.