StarterTemplate ASP.NET Host

<back to all web services

TwitterDirectMessages

The following routes are available for this service:
All Verbs/twitter/directmessages

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/TwitterDirectMessages HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: application/json
Content-Length: length

{"take":0,"sinceId":"String","maxId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"results":[{"id":0,"created_at":"String","sender_screen_name":"String","sender":{"name":"String","profile_sidebar_border_color":"String","profile_background_tile":"String","profile_sidebar_fill_color":"String","created_at":"String","profile_image_url":"String","profile_link_color":"String","location":"String","url":"String","favourites_count":0,"contributors_enabled":false,"utc_offset":"String","id":"String","profile_use_background_image":"String","profile_text_color":"String","protected":false,"followers_count":0,"lang":"String","verified":false,"profile_background_color":"String","geo_enabled":false,"notifications":false,"description":"String","time_zone":"String","friends_count":0,"statuses_count":0,"profile_background_image_url":"String","screen_name":"String"},"recipient":{"name":"String","profile_sidebar_border_color":"String","profile_background_tile":"String","profile_sidebar_fill_color":"String","created_at":"String","profile_image_url":"String","profile_link_color":"String","location":"String","url":"String","favourites_count":0,"contributors_enabled":false,"utc_offset":"String","id":"String","profile_use_background_image":"String","profile_text_color":"String","protected":false,"followers_count":0,"lang":"String","verified":false,"profile_background_color":"String","geo_enabled":false,"notifications":false,"description":"String","time_zone":"String","friends_count":0,"statuses_count":0,"profile_background_image_url":"String","screen_name":"String"},"recipient_id":0,"sender_id":0,"recipient_screen_name":"String","text":"String"}]}