Httpstatus 500 twitter rest api


#1

Hello,
Error 500 keeps showing up. What am I suppose to do?


#2

What endpoint are you calling? What code are you using? There is very little information in your post.


#3

I use codebird-php,

code:

$ConsumerKey="____KEY____";//
$ConsumerKeySecret="___KEY_SECRET____";

\Codebird\Codebird::setConsumerKey($ConsumerKey, $ConsumerKeySecret);
$cb = \Codebird\Codebird::getInstance();

$AccessToken="_______ACCESS_TOKEN__";
$AccessTokenSecret="______ACCESS_TOKEN_SECRET______";


$cb->setToken($AccessToken, $AccessTokenSecret);


$key='test';
$params_twt = array('q'=>$key);
 
 //--

$reply = $cb->search_tweets($params_twt);



#4

Solved


#5

Would you be able to share the solution in case others face a similar issue in the future? Thanks!


#6

I have internal problem in my xampp configuration.