Check the word after a '@' character in PHP

前端 未结 4 1747
我在风中等你
我在风中等你 2021-02-20 03:25

I\'m making a news and comment system at the moment, but I\'m stuck at one part for a while now. I want users to be able to refer to other players on the twitter style like

4条回答
  •  离开以前
    2021-02-20 03:51

    Consider to use the Twitter API for catching the username from your text: https://github.com/twitter/twitter-text-js

提交回复
热议问题