Geo/id:place_id method is not returning geometry


#1

The example output for this API method includes geometry for the place.
https://dev.twitter.com/docs/api/1.1/get/geo/id/%3Aplace_id

However, when I actually get the response for a real request, “geometry” is always null. The documentation states the only parameter for this method is place_id. Is there something I’m missing here?

Output:

{
	"id": "5a110d312052166f",
	"url": "https:\/\/api.twitter.com\/1.1\/geo\/id\/5a110d312052166f.json",
	"place_type": "city",
	"name": "San Francisco",
	"full_name": "San Francisco, CA",
	"country_code": "US",
	"country": "United States",
	"contained_within": [{
		"id": "fbd6d2f5a4e4a15e",
		"url": "https:\/\/api.twitter.com\/1.1\/geo\/id\/fbd6d2f5a4e4a15e.json",
		"place_type": "admin",
		"name": "California",
		"full_name": "California, USA",
		"country_code": "US",
		"country": "United States",
		"bounding_box": {
			"type": "Polygon",
			"coordinates": [[[-124.482003,
			32.528832],
			[-124.482003,
			42.009519],
			[-114.131212,
			42.009519],
			[-114.131212,
			32.528832],
			[-124.482003,
			32.528832]]]
		},
		"attributes": {
			
		}
	}],
	"geometry": null,
	"polylines": [],
	"bounding_box": {
		"type": "Polygon",
		"coordinates": [[[-122.514926,
		37.708075],
		[-122.514926,
		37.833238],
		[-122.328001,
		37.833238],
		[-122.328001,
		37.708075],
		[-122.514926,
		37.708075]]]
	},
	"attributes": {
		"162772:pop100": "776733",
		"189390:id": "san-francisco-ca",
		"162772:place_id": "0667000"
	}
}

#2

It looks like a Bug. I saved some responses Months ago and there was geometry. Now its null.


#3

This endpoint did in fact return geometry in the past. Perhaps the powers at @twitter don’t want to share their polygons anymore.


#4

+1, can’t seem to get Geometry and/or Polylines from API anymore. It used to work with API v1, but now that I would need it again, it isn’t working anymore in API v1.1