I want to post a tweet that include emoji() by RESTAPI.
so I post a tweet as below by using PHP’s library .
$tweetContent = "@xxxxxx
【 TwitterTrend 】
➡️ t.co/xxxxxx
t.co/yyyyyy
";
$replyObject = [
"status" => $tweetContent,
"in_reply_to_status_id" => "xxxxxxxxxxxxxxxxxxxx",
"attachment_url" => "https://twitter.com/" . $tweetInfo->user->screen_name . "/status/" . $tweetInfo->id
];
$this->connection->post("statuses/update", $replyObject);
But this created tweet by RESTAPI is as below.
@xxxxxx
【 TwitterTrend 】
...
...
➡️ htest.com
...
...
htwitter.com
What I wondered was that there is h
between and
test.com
. also htwitter.com
's h
I want eliminate these h
. so Please tell me the way.