You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Twitter . DirectMessages . GetMessageByID
Retrieves a single direct message, specified by an id.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo retrieves a single direct message, specified by an ID. The documentation for this Twitter resource can be found here.
To obtain access to direct messages, you will need to make sure your application record on https://dev.twitter.com/apps is set to have a permission level of "Read, Write and Direct Messages".
Here's an example of acceptable inputs:
ConsumerKey: {YOUR CONSUMER KEY}
ConsumerSecret {YOUR CONSUMER SECRET}
AccessToken: {YOUR ACCESS TOKEN}
AccessTokenSecret: {YOUR TOKEN SECRET}
ID: 240136858829479936
The following is a sample of the JSON information returned by this Choreo:
Note that in cases where both id and id_str are provided in the output, it is preferable to use id_str.
[ { "created_at": "Mon Aug 27 17:21:03 +0000 2012", "entities": { "hashtags": [], "urls": [], "user_mentions": [] }, "id": 240136858829479936, "id_str": "240136858829479936", "recipient": { "contributors_enabled": false, "created_at": "Thu Aug 23 19:45:07 +0000 2012", "default_profile": false, "default_profile_image": false, "description": "Keep calm and test", "favourites_count": 0, "follow_request_sent": false, "followers_count": 0, "following": false, "friends_count": 10, "geo_enabled": true, "id": 776627022, "id_str": "776627022", "is_translator": false, "lang": "en", "listed_count": 0, "location": "San Francisco, CA", "name": "Mick Jagger", "notifications": false, "profile_background_color": "000000", "profile_background_image_url": "http://a0.twimg.com/profile_background_images/644522235/cdjlccey99gy36j3em67.jpeg", "profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/644522235/cdjlccey99gy36j3em67.jpeg", "profile_background_tile": true, "profile_image_url": "http://a0.twimg.com/profile_images/2550226257/y0ef5abcx5yrba8du0sk_normal.jpeg", "profile_image_url_https": "https://si0.twimg.com/profile_images/2550226257/y0ef5abcx5yrba8du0sk_normal.jpeg", "profile_link_color": "000000", "profile_sidebar_border_color": "000000", "profile_sidebar_fill_color": "000000", "profile_text_color": "000000", "profile_use_background_image": false, "protected": false, "screen_name": "s0c1alm3dia", "show_all_inline_media": false, "statuses_count": 0, "time_zone": "Pacific Time (US & Canada)", "url": "http://cnn.com", "utc_offset": -28800, "verified": false }, "recipient_id": 776627022, "recipient_screen_name": "s0c1alm3dia", "sender": { "contributors_enabled": true, "created_at": "Sat May 09 17:58:22 +0000 2009", "default_profile": false, "default_profile_image": false, "description": "I taught your phone that thing you like. The Mobile Partner Engineer @Twitter. ", "favourites_count": 584, "follow_request_sent": false, "followers_count": 10621, "following": false, "friends_count": 1181, "geo_enabled": true, "id": 38895958, "id_str": "38895958", "is_translator": false, "lang": "en", "listed_count": 190, "location": "San Francisco", "name": "Sean Cook", "notifications": false, "profile_background_color": "1A1B1F", "profile_background_image_url": "http://a0.twimg.com/profile_background_images/495742332/purty_wood.png", "profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/495742332/purty_wood.png", "profile_background_tile": true, "profile_image_url": "http://a0.twimg.com/profile_images/1751506047/dead_sexy_normal.JPG", "profile_image_url_https": "https://si0.twimg.com/profile_images/1751506047/dead_sexy_normal.JPG", "profile_link_color": "2FC2EF", "profile_sidebar_border_color": "181A1E", "profile_sidebar_fill_color": "252429", "profile_text_color": "666666", "profile_use_background_image": true, "protected": false, "screen_name": "theSeanCook", "show_all_inline_media": true, "statuses_count": 2608, "time_zone": "Pacific Time (US & Canada)", "url": null, "utc_offset": -28800, "verified": false }, "sender_id": 38895958, "sender_screen_name": "theSeanCook", "text": "booyakasha" } ]
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms