\Horde_Service_Twitter_Request_Oauth

Horde_Service_Twitter_Request_Oauth class wraps sending requests to Twitter's REST API using OAuth authentication.

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

Summary

Methods
Properties
Constants
__construct()
setTwitter()
get()
post()
No public properties found
No constants found
No protected methods found
$_twitter
$_request
N/A
No private methods found
No private properties found
N/A

Properties

$_request

$_request : \Horde_Controller_Request_Http

Type

\Horde_Controller_Request_Http

Methods

__construct()

__construct(\Horde_Controller_Request_Http  $request) 

Parameters

\Horde_Controller_Request_Http $request

get()

get(  $url, array  $params = array()) : string

Perform a GET request with OAuth authorization.

Parameters

$url
array $params

URL parameters.

Throws

\Horde_Service_Twitter_Exception

Returns

string —

Call results.

post()

post(  $url, array  $params = array()) 

Send a POST request to the twitter API. Purposely do not cache results from these since POST requests alter data on the server.

Parameters

$url
array $params