Best way to get Tweet a location based on an address


#1

As part of our app, we allow users to detect their current location, and then we send those coordinates on to the Twitter API. We also want to allow them to use the address of their business. There are APIs out there that can get coordinates from an address. Do I need to hit one of those first and then take my coordinates to Twitter’s API or is there a better way to do it? (For instance, could we safely assume that any city/state that is part of a business address is a valid Twitter place, and could we get a placeID that way?) Thanks!


#2

I’m an idiot - I think I found it. Just to confirm, best way is probably passing an address in geo/search endpoint with query parameter?


#3

Correct :slight_smile:


#4

Thank you!