PHP Class Horde_Service_Twitter_Request_Oauth, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Horde_Service_Twitter_Request
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
get ( $url, array $params = [] ) : string Perform a GET request with OAuth authorization.
post ( $url, array $params = [] ) Send a POST request to the twitter API. Purposely do not cache results from these since POST requests alter data on the server.

Method Details

get() public method

Perform a GET request with OAuth authorization.
public get ( $url, array $params = [] ) : string
$params array URL parameters.
return string Call results.

post() public method

Send a POST request to the twitter API. Purposely do not cache results from these since POST requests alter data on the server.
See also: self::get
public post ( $url, array $params = [] )
$params array