Ok, tanks a lot. Now I was trying to do it with
the TwitterAPIExchange but it return’s only a blank page and I don’t know why.
I have my developer account and all my access tokens and keys. Here it’s the
code I’m using, it’s anything wrong???
<?php
require_once('TwitterAPIExchange.php');
$settings = array(
'oauth_access_token' =>" My ### ",
'oauth_access_token_secret' =>" My ### ",
'consumer_key' => " My ### ",
'consumer_secret' =>" My ### "
);
$url = "https://api.twitter.com/1.1/statuses/user_timeline.json";
$requestMethod = "GET";
$getfield = '?screen_name=RaidelTorres&count=20';
$twitter = new TwitterAPIExchange($settings);
echo $twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest();
?>