This Choreo retrieves the latest Tweet matching a specified query. The documentation for this Twitter resource can be found here.
Here's an example of acceptable inputs:
ConsumerKey: {YOUR CONSUMER KEY}
ConsumerSecret {YOUR CONSUMER SECRET}
AccessToken: {YOUR ACCESS TOKEN}
AccessTokenSecret: {YOUR TOKEN SECRET}
Query: Google Maps
The following is a sample of the JSON information returned by this Choreo:
{
"statuses": [
{
"metadata": {
"result_type": "recent",
"iso_language_code": "en"
},
"created_at": "Mon Dec 17 23:55:29 +0000 2012",
"id": 280823561801830400,
"id_str": "280823561801830400",
"text": "RT @digitalspybrk: Google Maps iOS app racks up 10 million downloads in first 48 hours http://t.co/2mHDYqAl",
"source": "<a href=\"http://blackberry.com/twitter\" rel=\"nofollow\">Twitter for BlackBerry®</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 215609334,
"id_str": "215609334",
"name": "Abdul bari",
"screen_name": "barrybills",
"location": "Lagos",
"description": "Ff mi if u wonna kw mi",
"url": null,
"entities": {
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 161,
"friends_count": 429,
"listed_count": 0,
"created_at": "Sun Nov 14 12:28:14 +0000 2010",
"favourites_count": 4,
"utc_offset": null,
"time_zone": null,
"geo_enabled": true,
"verified": false,
"statuses_count": 10685,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"profile_background_color": "C0DEED",
"profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png",
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png",
"profile_background_tile": false,
"profile_image_url": "http://a0.twimg.com/profile_images/2969200163/c110ef4a952d95c91b365d4afa63d244_normal.jpeg",
"profile_image_url_https": "https://si0.twimg.com/profile_images/2969200163/c110ef4a952d95c91b365d4afa63d244_normal.jpeg",
"profile_link_color": "0084B4",
"profile_sidebar_border_color": "C0DEED",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": true,
"default_profile": true,
"default_profile_image": false,
"following": null,
"follow_request_sent": null,
"notifications": null
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"retweeted_status": {
"metadata": {
"result_type": "recent",
"iso_language_code": "en"
},
"created_at": "Mon Dec 17 23:53:54 +0000 2012",
"id": 280823164429291520,
"id_str": "280823164429291521",
"text": "Google Maps iOS app racks up 10 million downloads in first 48 hours http://t.co/2mHDYqAl",
"source": "<a href=\"http://www.digitalspy.co.uk/headlines/\" rel=\"nofollow\">Digital Spy Breaking News</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 171447719,
"id_str": "171447719",
"name": "DS Breaking News",
"screen_name": "digitalspybrk",
"location": "London; New York; LA",
"description": "Breaking news tweet-by-tweet from Digital Spy, the worldwide leader in entertainment news.",
"url": "http://www.digitalspy.co.uk/headlines/",
"entities": {
"url": {
"urls": [
{
"url": "http://www.digitalspy.co.uk/headlines/",
"expanded_url": null,
"indices": [
0,
38
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 7418,
"friends_count": 0,
"listed_count": 104,
"created_at": "Tue Jul 27 10:58:52 +0000 2010",
"favourites_count": 0,
"utc_offset": null,
"time_zone": null,
"geo_enabled": false,
"verified": false,
"statuses_count": 144432,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"profile_background_color": "F3F3F3",
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/312034023/background.png",
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/312034023/background.png",
"profile_background_tile": false,
"profile_image_url": "http://a0.twimg.com/profile_images/1496387254/toplevel_breaking_normal.jpg",
"profile_image_url_https": "https://si0.twimg.com/profile_images/1496387254/toplevel_breaking_normal.jpg",
"profile_link_color": "3C3491",
"profile_sidebar_border_color": "333333",
"profile_sidebar_fill_color": "FFFFFF",
"profile_text_color": "3C3491",
"profile_use_background_image": true,
"default_profile": false,
"default_profile_image": false,
"following": null,
"follow_request_sent": null,
"notifications": null
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"retweet_count": 1,
"entities": {
"hashtags": [],
"urls": [
{
"url": "http://t.co/2mHDYqAl",
"expanded_url": "http://dspy.me/VMo6sw",
"display_url": "dspy.me/VMo6sw",
"indices": [
68,
88
]
}
],
"user_mentions": []
},
"favorited": false,
"retweeted": false,
"possibly_sensitive": false
},
"retweet_count": 1,
"entities": {
"hashtags": [],
"urls": [
{
"url": "http://t.co/2mHDYqAl",
"expanded_url": "http://dspy.me/VMo6sw",
"display_url": "dspy.me/VMo6sw",
"indices": [
87,
107
]
}
],
"user_mentions": [
{
"screen_name": "digitalspybrk",
"name": "DS Breaking News",
"id": 171447719,
"id_str": "171447719",
"indices": [
3,
17
]
}
]
},
"favorited": false,
"retweeted": false,
"possibly_sensitive": false
}
],
"search_metadata": {
"completed_in": 0.014,
"max_id": 280823561801830400,
"max_id_str": "280823561801830400",
"next_results": "?max_id=280823561801830399&q=Google&count=1&include_entities=1&result_type=recent",
"query": "Google",
"refresh_url": "?since_id=280823561801830400&q=Google&result_type=recent&include_entities=1",
"count": 1,
"since_id": 0,
"since_id_str": "0"
}
}