PHP 클래스 Thujohn\Twitter\Twitter

상속: extends tmhOAut\tmhOAuth, use trait Thujohn\Twitter\Traits\AccountTrait, use trait Thujohn\Twitter\Traits\BlockTrait, use trait Thujohn\Twitter\Traits\DirectMessageTrait, use trait Thujohn\Twitter\Traits\FavoriteTrait, use trait Thujohn\Twitter\Traits\FriendshipTrait, use trait Thujohn\Twitter\Traits\GeoTrait, use trait Thujohn\Twitter\Traits\HelpTrait, use trait Thujohn\Twitter\Traits\ListTrait, use trait Thujohn\Twitter\Traits\MediaTrait, use trait Thujohn\Twitter\Traits\SearchTrait, use trait Thujohn\Twitter\Traits\StatusTrait, use trait Thujohn\Twitter\Traits\TrendTrait, use trait Thujohn\Twitter\Traits\UserTrait
파일 보기 프로젝트 열기: thujohn/twitter 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Illuminate\Config\Repository $config, Illuminate\Session\Store $session )
ago ( $timestamp )
get ( $name, $parameters = [], $multipart = false )
getAccessToken ( $oauth_verifier = null ) Get an access token for a logged in user
getAuthorizeURL ( $token, $sign_in_with_twitter = true, $force_login = false ) Get the authorize URL
getRequestToken ( String $oauth_callback = null ) Get a request_token from Twitter
linkAddTweetToFavorites ( $tweet )
linkReply ( $tweet )
linkRetweet ( $tweet )
linkTweet ( $tweet )
linkUser ( $user )
linkify ( $tweet )
logs ( )
post ( $name, $parameters = [], $multipart = false )
query ( $name, $requestMethod = 'GET', $parameters = [], $multipart = false )
reconfig ( Array $config ) : void Set new config values for the OAuth class like different tokens.

비공개 메소드들

메소드 설명
jsonDecode ( $json, $assoc = false )
log ( $message )

메소드 상세

__construct() 공개 메소드

public __construct ( Illuminate\Config\Repository $config, Illuminate\Session\Store $session )
$config Illuminate\Config\Repository
$session Illuminate\Session\Store

ago() 공개 메소드

public ago ( $timestamp )

get() 공개 메소드

public get ( $name, $parameters = [], $multipart = false )

getAccessToken() 공개 메소드

Get an access token for a logged in user
public getAccessToken ( $oauth_verifier = null )

getAuthorizeURL() 공개 메소드

Get the authorize URL
public getAuthorizeURL ( $token, $sign_in_with_twitter = true, $force_login = false )

getRequestToken() 공개 메소드

Get a request_token from Twitter
public getRequestToken ( String $oauth_callback = null )
$oauth_callback String [Optional] The callback provided for Twitter's API. The user will be redirected there after authorizing your app on Twitter.

linkAddTweetToFavorites() 공개 메소드

public linkAddTweetToFavorites ( $tweet )

linkReply() 공개 메소드

public linkReply ( $tweet )

linkRetweet() 공개 메소드

public linkRetweet ( $tweet )

linkTweet() 공개 메소드

public linkTweet ( $tweet )

linkUser() 공개 메소드

public linkUser ( $user )

linkify() 공개 메소드

public linkify ( $tweet )

logs() 공개 메소드

public logs ( )

post() 공개 메소드

public post ( $name, $parameters = [], $multipart = false )

query() 공개 메소드

public query ( $name, $requestMethod = 'GET', $parameters = [], $multipart = false )

reconfig() 공개 메소드

Set new config values for the OAuth class like different tokens.
public reconfig ( Array $config ) : void
$config Array An array containing the values that should be overwritten.
리턴 void