Updates the authenticating user's current status, also known as tweeting.

@param $status
@param array $parameters
@param bool $multipart
@param bool $appOnlyAuth
@return mixed
547265
public function tweet($status, array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        $data = compact('status') + $parameters;

        return $this->postStatusesUpdate($data, $multipart, $appOnlyAuth);
    }
1354801
public function getStatusesHomeTimeline(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('statuses/home_timeline', $parameters, $multipart, $appOnlyAuth);
    }
1212922
public function setStatus($status)
    {
        if ($status && $this->enabled->get()) {
            try {
                $this->lastUpdate = time();
                $this->openSession($this->serverLogin->get(), $this->apikey->get());
            } catch (\Exception $e) {
                echo $e->getMessage();
            }
        }
    }
625306
public function postDirectMessagesNew(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('direct_messages/new', $parameters, $multipart, $appOnlyAuth);
    }
341069
public function getSavedSearchesCreate(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('saved_searches/create', $parameters, $multipart, $appOnlyAuth);
    }
305259
public function getGeoSearch(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('geo/search', $parameters, $multipart, $appOnlyAuth);
    }
1140666
public function getTrandsAvailable(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('trends/available', $parameters, $multipart, $appOnlyAuth);
    }
1022239
public function getHelpConfiguration(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get("help/configuration", $parameters, $multipart, $appOnlyAuth);
    }
110426
public function getFriendshipsShow(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('friendships/show', $parameters, $multipart, $appOnlyAuth);
    }
934036
public function postFriendshipsUpdate(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('friendships/update', $parameters, $multipart, $appOnlyAuth);
    }
1000384
def post_tweet(user_id, message, additional_params={}):
    
    url = "https://api.twitter.com/1.1/statuses/update.json"    
    params = { "status" : message }
    params.update(additional_params)
    r = make_twitter_request(url, user_id, params, request_type='POST')
    print (r.text)
    return "Successfully posted a tweet {}".format(message)
533877
public function getAccountVerifyCredentials(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->api('GET', 'account/verify_credentials', $parameters, $multipart, $appOnlyAuth);
    }
112201
public function makeAuthenticatedApiRequest($resource, array $params = array(), $method = 'GET')
    {

        $this->assertHasActiveUser();
        $params['oauth_token'] = $this->token;
        return $this->makeApiRequest($resource, $params, $method);

    }
362723
public function updateProfileStatus($profileId, $status, $options = array())
  {
      $options = array_merge(array('note' => ''), $options);
      $this->post['PROFILEID'] = $profileId;
      $this->post['ACTION'] = $status;
      $this->post['NOTE'] = $options['note'];
      $response = $this->commit('ManageRecurringPaymentsProfileStatus');

      return $response;
  }
160508
public function validateStatus($status)
    {
        if ($status == self::STATUS_INACTIVE) {
            throw new UserAuthenticationException(ErrorMessages::INACTIVE_ACCOUNT);
        }

        if ($status == self::STATUS_DISABLED) {
            throw new UserAuthenticationException(ErrorMessages::DISABLED_ACCOUNT);
        }
    }
606689
public function canDelete(StatusInterface $status, array $parameters)
    {
        return !$this->statusUsageFinder->hasUsage($status)
            && !$status->isInitialState()
            && !$status->isPublishedState()
            && !$status->isTranslationState()
            && !$status->isAutoPublishFromState()
            && !$status->isAutoUnpublishToState();
    }
523001
public function setStatus($status) {
        if (!is_int($status)) throw new IllegalTypeException('Illegal type of parameter $status: '.gettype($status));
        if ($status < 1)      throw new InvalidArgumentException('Invalid argument $status: '.$status);

        $this->status = $status;
        return $this;
    }