Public API reference
checkStringLocation
This function allows you to validate the user-entered location strings. You can use this function before sending the post to twitxr, in order to ensure that it will be geolocated fine.
This method requires authentication'
Parameters
- place: The location-string to validate (UTF-8 encoded string). Twitxr prefers Google Maps string formats (City,Country / Address,City,Country and so on)
Example response
<?xml version="1.0" encoding="UTF-8"?> <result code="done"> <location type="string"> <lat>41.979929</lat> <lng>2.824578</lng> <place>carrer del carme, 29, girona, spain</place> <country>ES</country> </location> </result>
