Bu hata neyden kaynaklanıyor acaba.
<?php
require_once('TwitterOAuth/autoload.php');
use Abraham\TwitterOAuth\TwitterOAuth;
$consumer_key = "xxxxxxxxxxxxxxxxx";
$consumer_secret = "xxxxxxxxxxxxxxxxxxxxxxxx";
$access_token = "xxxxxxxxxxxxxxxxxxxxxxx";
$access_token_secret = "xxxxxxxxxxxxxxxxxxxxxx";
$connection = new TwitterOAuth($consumer_key, $consumer_secret, $access_token, $access_token_secret);
$statuses = $connection->get("statuses/user_timeline", ["count" => 10, "screen_name" => "zydn"]);
foreach ($statuses as $status) {
echo $status->text . "\n";
}
?>kodları yazdım sıkıntı yok ama neden sürekli 500 hatası alıyorum.