shms adlı üyeden alıntı: mesajı görüntüle
<?php
require 'vendor/autoload.php';

use GuzzleHttp\Client;

$client = new Client();

$response = $client->get('https://api.x.com/1.1/hashflags.json', [
    'headers' => [
        'Referer'                   => 'https://x.com/',
        'x-twitter-client-language' => 'tr',
        'x-client-transaction-id'   => 'ccFO2e',
        'x-guest-token'             => '1792650863439212646',
        'x-twitter-active-user'     => 'yes',
        'authorization'             => 'Bearer AAAAAAAAAAAAAAA',
        'User-Agent'                => 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1'
    ]
]);

Bende şu bilgiler var hocam, bunlar ile kod yazabilir misin?