I already have a access token and I am able to access user friends, but I can’t get to post and status update.
I’m posting to https://api.twitter.com/1.1/statuses/update.json
But every time Im getting this error:
[message] => Sorry, that page does not exist
[code] => 34
Could I be doing it wrong, im using this code:
$connection = new \twitteroauth\TwitterOAuth(‘SXXXX’, ‘K99999’, $user->social->twitter_token, $user->social->twitter_tocken_secret);
$data = array();
$data[‘status’] = Input::get(‘message’);
$response = $connection->post('statuses/update.json', $data);