I'm trying to get the user timeline for my twitter timeline, and it keeps giving me the return "page not found". The code is below:
require_once("twitteroauth/autoload.php");
use Abraham\TwitterOAuth\TwitterOAuth;
$connection = new TwitterOAuth($this->consumer_key, $this->consumer_secret, $this->oauth_access_token, $this->oauth_access_token_secret);
$data = $connection->get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$this->username."&count=".$this->limit);
return $data;
Can't figure out what I'm doing wrong, any help is appreciated. Thanks!