This project has moved. For the latest updates, please go here.

Getting Details on a Place

With a place ID, returned by a Reverse Geocode lookup, you can get more details on the place.

Entity: Geo
Type: GeoType.ID
Name Purpose Type Required
PlaceID ID retrieved from reverse geocode string yes

            var geoResponse =
                (from g in twitterCtx.Geo
                 where g.Type == GeoType.ID &&
                       g.ID == "5a110d312052166f"
                 select g)

            if (geoResponse != null && geoResponse.Places != null)
                Place place = geoResponse.Places.First();

                    "Name: {0}, Country: {1}, Type: {2}",
                    place.Name, place.Country, place.PlaceType);

Twitter API: geo id place_id

Last edited Nov 29, 2013 at 3:49 AM by JoeMayo, version 9