Search 30 premium days API showing Sorry, that page does not exist 34 with Abraham API

oauth
php
search

#1
<?php

require('autoload.php');
use Abraham\TwitterOAuth\TwitterOAuth;

define('CONSUMER_KEY','...');
define('CONSUMER_SECRET','...');

$access_token = '...';
$access_token_secret = '...';

$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token, $access_token_secret);

$content = $connection->get("account/verify_credentials");
$url = $connection->url("oauth/authorize", ["oauth_token" => "..."]);
//$url = $connection->url("1.1/tweets/search/30day/", ["q" => "credila"]);   testing

//$statuses = $connection->get("statuses/home_timeline", ["count" => 25, "exclude_replies" => true]);
$statuses = $connection->get("search/30day/tweets", ["q" => "credila"]);

echo "<pre>";
print_r($statuses);


?>

#2

I don’t believe that API wrapper will work with the premium search at this time. You need to use application-only authentication.