oAuthGet($url); $twitter_user = json_decode($response); return $twitter_user; } function statuses_update($status, $in_reply_to_status_id = null) { $url = 'https://twitter.com/statuses/update.json'; $params = array('status' => $status, 'in_reply_to_status_id' => $in_reply_to_status_id); $response = $this->oAuthPost($url, $params); $status = json_decode($response); return $status; } }