JTwitterStatuses::tweet
Method to post a tweet.
Signature
public function tweet(string
$status,
[integer
$in_reply_to_status_id = null,
[float
$lat = null,
[float
$long = null,
[string
$place_id = null,
[boolean
$display_coordinates = null,
[boolean
$trim_user = null]]]]]] )
Parameters
-
$status
- The text of the tweet.
-
$in_reply_to_status_id
- The ID of an existing status that the update is in reply to.
-
$lat
- The latitude of the location this tweet refers to.
-
$long
- The longitude of the location this tweet refers to.
-
$place_id
- A place in the world.
-
$display_coordinates
- Whether or not to put a pin on the exact coordinates a tweet has been sent from.
-
$trim_user
- When set to true, each tweet returned in a timeline will include a user object including only
Returns
- array
- The decoded JSON response