PHP Class Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent

Afficher le fichier Open project: rubenwouters/crm-launcher Class Usage Examples

Protected Properties

Свойство Type Description
$config Rubenwouters\CrmLauncher\Models\Configuration

Méthodes publiques

Méthode Description
__construct ( Configuration $config )
answerTweet ( Request $request, string $type, integer $toId, string $handle ) : array | Illuminate\View\View Answer tweet
deleteTweet ( object $case, object $answer ) : void | Illuminate\View\View Delete tweet
deleteTweetPublishment ( object $answer ) : void | Illuminate\View\View Delete tweet
fetchDirectMessages ( integer $sinceId ) : array | Illuminate\View\View Fetch all direct (private) messages
fetchFollowers ( ) : array | Illuminate\View\View Get number of followers
fetchMentions ( ) : array | Illuminate\View\View Fetch all mentions
fetchTwitterStats ( ) : array | Illuminate\View\View Fetch user's tweets
newestDirectId ( ) : mixed Get newest direct ID on Twitter (Twitter)
newestMentionId ( ) : mixed Get newest mention id on Twitter (Twitter)
publishTweet ( string $tweet ) : array | Illuminate\View\View Publish tweet
toggleFollowUser ( object $contact, integer $twitterId ) : void | Illuminate\View\View Follow/unfollow user

Method Details

__construct() public méthode

public __construct ( Configuration $config )
$config Rubenwouters\CrmLauncher\Models\Configuration

answerTweet() public méthode

Answer tweet
public answerTweet ( Request $request, string $type, integer $toId, string $handle ) : array | Illuminate\View\View
$request Request
$type string
$toId integer
$handle string
Résultat array | Illuminate\View\View

deleteTweet() public méthode

Delete tweet
public deleteTweet ( object $case, object $answer ) : void | Illuminate\View\View
$case object
$answer object
Résultat void | Illuminate\View\View

deleteTweetPublishment() public méthode

Delete tweet
public deleteTweetPublishment ( object $answer ) : void | Illuminate\View\View
$answer object
Résultat void | Illuminate\View\View

fetchDirectMessages() public méthode

Fetch all direct (private) messages
public fetchDirectMessages ( integer $sinceId ) : array | Illuminate\View\View
$sinceId integer
Résultat array | Illuminate\View\View

fetchFollowers() public méthode

Get number of followers
public fetchFollowers ( ) : array | Illuminate\View\View
Résultat array | Illuminate\View\View

fetchMentions() public méthode

Fetch all mentions
public fetchMentions ( ) : array | Illuminate\View\View
Résultat array | Illuminate\View\View

fetchTwitterStats() public méthode

Fetch user's tweets
public fetchTwitterStats ( ) : array | Illuminate\View\View
Résultat array | Illuminate\View\View

newestDirectId() public méthode

Get newest direct ID on Twitter (Twitter)
public newestDirectId ( ) : mixed
Résultat mixed

newestMentionId() public méthode

Get newest mention id on Twitter (Twitter)
public newestMentionId ( ) : mixed
Résultat mixed

publishTweet() public méthode

Publish tweet
public publishTweet ( string $tweet ) : array | Illuminate\View\View
$tweet string
Résultat array | Illuminate\View\View

toggleFollowUser() public méthode

Follow/unfollow user
public toggleFollowUser ( object $contact, integer $twitterId ) : void | Illuminate\View\View
$contact object
$twitterId integer
Résultat void | Illuminate\View\View

Property Details

$config protected_oe property

protected Configuration,Rubenwouters\CrmLauncher\Models $config
Résultat Rubenwouters\CrmLauncher\Models\Configuration