A
A
Alexander Privalov2014-07-08 16:02:45
PHP
Alexander Privalov, 2014-07-08 16:02:45

How do I disable or clear twitter text commands from a tweet?

How to disable short commands when crossposting via twitter API? For example, the word typed in a row "double" is perceived as an attempt to send a direct message to the user "O".
In addition to replacing the space after the command with a slash, I did not come up with anything. Tricky twitter recognizes most whitespace characters, so gracefully replacing the space does not work =(
Perhaps there is a ready-made package or class in php to neutralize these commands?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gasoid, 2014-07-23
@konfuji

like they write about the solution here
https://dev.twitter.com/discussions/22859
stackoverflow.com/questions/19969275/twitter-api-v...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question