JTwitterPlaces::createPlace
Method to create a new place object at the given latitude and longitude.
Signature
public function createPlace(float
$lat,
[float
$long = null,
[string
$name = null,
[string
$geo_token = null,
[string
$within = null,
[string
$attribute = null,
[string
$callback = null]]]]]] )
Parameters
-
$lat
- The latitude to search around.
-
$long
- The longitude to search around.
-
$name
- The name a place is known as.
-
$geo_token
- The token found in the response from geo/similar_places.
-
$within
- This is the place_id which you would like to restrict the search results to.
-
$attribute
- This parameter searches for places which have this given street address.
-
$callback
- If supplied, the response will use the JSONP format with a callback of the given name.
Returns
- array
- The decoded JSON response