Hello,
The rest api documentation for tweet post include 2 fields that have no explanation as to how they should be used :
When set to true , enables shortcode commands for sending Direct Messages as part of the status text to send a Direct Message to a user. When set to false , disables this behavior and includes any leading characters in the status text that is posted
What is a shortcode command? I looked into this doc and came up with a tweet → a tweet
D tweetinvitest how are you doing? → send a message to tweetinvitest
https://api.twitter.com/1.1/statuses/update.json?status=D%20tweetinvitest%20how%20are%20you%20doing%3F&enable_dmcommands=true
Problem is that it does not work. Can you please provide more explanation as to what is the expected result of this field.
When set to true , causes any status text that starts with shortcode commands to return an API error. When set to false , allows shortcode commands to be sent in the status text and acted on by the API.
Same question as above.
1 Like
These values are no longer valid since Direct Message short codes were retired (Nov 2017). We can tidy this up and we will make a note to do so. Retiring legacy DM commands on the standard Tweet API
Note that, since v1.1 of the API is effectively in maintenance mode while we work on Twitter Developer Labs and the next version of the API (complete with data objects in JSON Schema and call specification in OpenAPI) maintaining the older documentation is at the moment a much lower priority for us than ensuring that our upcoming APIs are fully and accurately covered.
1 Like
Thanks Andy,
Is there any preview or insights that we as developers of public Twitter sdk could have access in advance in order to provide early support and plan out associated work?
Thanks
That’s essentially what Labs is - a preview. If you have ideas about how we could better serve your needs as a library developer, we are open to hearing them. Thanks!
1 Like
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.