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 . SendDirectMessage
Sends a new direct message to the specified user from the authenticating user.
/*
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 sends a new direct message to the specified user from the authenticating user. 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}
ScreenName: qatemboo
Text: Hello World
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.
{ "sender_id": 97731133, "created_at": "Wed Dec 19 20:07:52 +0000 2012", "id_str": "281491057022214144", "recipient": { "id": 97731133, "profile_text_color": "333333", "followers_count": 3, "geo_enabled": false, "following": false, "listed_count": 0, "screen_name": "qatemboo", "profile_sidebar_border_color": "C0DEED", "location": null, "profile_image_url_https": "https://twimg0-a.akamaihd.net/sticky/default_profile_images/default_profile_3_normal.png", "utc_offset": -18000, "friends_count": 2, "name": "Temboo QA", "profile_background_tile": false, "follow_request_sent": false, "profile_sidebar_fill_color": "DDEEF6", "notifications": false, "protected": false, "default_profile_image": true, "profile_image_url": "http://a0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png", "entities": { "description": { "urls": [] } }, "favourites_count": 0, "profile_background_color": "C0DEED", "is_translator": false, "lang": "en", "profile_background_image_url_https": "https://twimg0-a.akamaihd.net/images/themes/theme1/bg.png", "id_str": "97731133", "profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png", "created_at": "Fri Dec 18 19:23:06 +0000 2009", "profile_link_color": "0084B4", "default_profile": true, "contributors_enabled": false, "url": null, "statuses_count": 30, "verified": false, "description": null, "time_zone": "Quito", "profile_use_background_image": true }, "recipient_id": 97731133, "entities": { "urls": [], "hashtags": [], "user_mentions": [] }, "text": "Hello World", "sender": { "id": 97731133, "profile_text_color": "333333", "followers_count": 3, "geo_enabled": false, "following": false, "listed_count": 0, "screen_name": "qatemboo", "profile_sidebar_border_color": "C0DEED", "location": null, "profile_image_url_https": "https://twimg0-a.akamaihd.net/sticky/default_profile_images/default_profile_3_normal.png", "utc_offset": -18000, "friends_count": 2, "name": "Temboo QA", "profile_background_tile": false, "follow_request_sent": false, "profile_sidebar_fill_color": "DDEEF6", "notifications": false, "protected": false, "default_profile_image": true, "profile_image_url": "http://a0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png", "entities": { "description": { "urls": [] } }, "favourites_count": 0, "profile_background_color": "C0DEED", "is_translator": false, "lang": "en", "profile_background_image_url_https": "https://twimg0-a.akamaihd.net/images/themes/theme1/bg.png", "id_str": "97731133", "profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png", "created_at": "Fri Dec 18 19:23:06 +0000 2009", "profile_link_color": "0084B4", "default_profile": true, "contributors_enabled": false, "url": null, "statuses_count": 30, "verified": false, "description": null, "time_zone": "Quito", "profile_use_background_image": true }, "recipient_screen_name": "qatemboo", "id": 281491057022214140, "sender_screen_name": "qatemboo" }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms