Tweets
Resource Fields
| Name | Type | Read-only | Description |
|---|---|---|---|
| uuid | string | ||
| screen_name | string | ||
| full_name | string | ||
| contents | string | ||
| retweet_count | integer | ||
| favorite_count | integer | ||
| in_reply_to_tweet | Tweet | ||
| in_reply_to_identity | Identity | ||
| media | Media | ||
| attachments | Attachments | ||
| download_all | string | Download all attachment as zip | |
| identity | Identity | ||
| created_at | timestamp | ISO-8601 Format | |
| updated_at | timestamp | ISO-8601 Format |
Media
RESOURCE FIELDS
| Name | Type | Read-only | Description |
|---|---|---|---|
| media_url | string | ||
| media_url_https | string | ||
| url | string | ||
| display_url | string | ||
| expanded_url | string |
Attachments
RESOURCE FIELDS
| Name | Type | Read-only | Description |
|---|---|---|---|
| name | string | ||
| size | integer | ||
| width | integer | Only if the attachment is image | |
| height | integer | Only if the attachment is image | |
| type | string | Mime-type of the file | |
| content_id | string | Content ID used for inline attachment | |
| alt | string | ||
| url | string | The URL to view the attachment | |
| url_download | string | The URL to download the attachment | |
| thumbnails | Thumbnails | ||
| created_at | timestamp | ISO-8601 Format |
Thumbnails
RESOURCE FIELDS
| Name | Type | Read-only | Description |
|---|---|---|---|
| name | string | ||
| size | integer | ||
| width | integer | ||
| height | integer | ||
| type | string | Mime-type of the file | |
| url | string | The URL to view the thumbnail | |
| created_at | timestamp | ISO-8601 Format |
Metadata
| Version | 1.0 |
| Last Updated | July 04, 2016 |
Actions
Retrieve latest tweets
GET /api/v1/twitter/tweets/latest.jsonInformation
| Allowed for | Public |
| Ordered by | created_at (descending) |
Retrieve latest three tweets for Twitter accounts enabled for public.
Arguments
| Name | Type | Mandatory | Description |
|---|---|---|---|
| account_ids | string | List of Account IDs (comma-separated) to filter tweets by. If not supplied, tweets from all enabled accounts are listed |
Response
{
"status": 200,
"data": [
{
"id": "588337651050119168",
"uuid": "a001cc05-5340-4c74-8470-d1154041fbf5",
"screen_name": "brewfictus",
"full_name": "Ben Pigford",
"contents": "Subscription coffee and specialist equipment. Planning on launching a cafe.",
"retweet_count": 5,
"favorite_count": 3,
"in_reply_to_tweet": null,
"in_reply_to_identity": null,
"media": [],
"attachments": [],
"download_all": null,
"identity":
{
"id": 1,
"resource_type": "identity_twitter"
},
"created_at": "2015-04-15T13:46:41+05:00",
"updated_at": "2015-04-15T13:46:41+05:00",
"resource_type": "twitter_tweet"
,"resource_url": "https://brewfictus.kayako.com/api/v1/twitter/tweets/588337651050119168"
}
],
"resource": "twitter_tweet",
"offset": 0,
"limit": 3,
"total_count": 1
}