我正在使用Twitter API并开发脚本。我面临着人物问题。我对Twitter API没有任何问题。
我想在Twitter和我的代码上发送'Ö'字符:
<?php
ob_start();
session_start();
include 'lib/EpiCurl.php';
include 'lib/EpiOAuth.php';
include 'lib/EpiTwitter.php';
include 'lib/secret.php';
$twitterObj = new EpiTwitter($consumer_key, $consumer_secret);
$authtoken = "";
$authtokens = "";
$twitterObj->setToken($authtoken, $authtokens);
$twitterInfo = $twitterObj->get_accountVerify_credentials();
$isim = $twitterInfo->name;
$username = $twitterInfo->screen_name;
$resim = $twitterInfo->profile_image_url;
$takipci = $twitterInfo->followers_count;
$tweetsayi = $twitterInfo->statuses_count;
$twid = $twitterInfo->id_str;
$desc = $twitterInfo->description;
$mesaj = "Ömer";
$mesaj = iconv("ISO-8859-1", "UTF-8", $mesaj);
$status = $twitterObj->post_statusesUpdate(array('status' => $mesaj));
$status->response;
?>
我无法向Twitter发送消息