PHP Class Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent

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 )
answerPost ( string $answer, integer $messageId ) : array | Illuminate\View\View Answer to Facebook post
answerPrivate ( object $conversation, string $answer ) : array | Illuminate\View\View Answer private Facebook message
deleteFbPost ( object $post ) : Illuminate\View\View Deletes post
fetchComments ( datetime $newest, object $message ) : array | Illuminate\View\View Fetch comments on post
fetchFbStats ( object $post ) : array | Illuminate\View\View Fetch Facebook posts
fetchInnerComments ( datetime $newest, integer $postId ) : array | Illuminate\View\View Fetch inner comments
fetchLikes ( ) : array | Illuminate\View\View Get Facebook page likes
fetchPosts ( datetime $newest ) : array | Illuminate\View\View Fetch posts from Facebook
fetchPrivateConversations ( ) : array | Illuminate\View\View Fetches all private conversations from Facebook
fetchPrivateMessages ( object $conversation ) : array | Illuminate\View\View Fetch all private messages
newestConversationId ( ) : integer | boolean | Illuminate\View\View Get newest conversation id
newestPostId ( ) : integer | boolean | Illuminate\View\View Get newest post ID (Facebook)
publishPost ( string $post ) : array | Illuminate\View\View Publish post

Method Details

__construct() public méthode

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

answerPost() public méthode

Answer to Facebook post
public answerPost ( string $answer, integer $messageId ) : array | Illuminate\View\View
$answer string
$messageId integer
Résultat array | Illuminate\View\View

answerPrivate() public méthode

Answer private Facebook message
public answerPrivate ( object $conversation, string $answer ) : array | Illuminate\View\View
$conversation object
$answer string
Résultat array | Illuminate\View\View

deleteFbPost() public méthode

Deletes post
public deleteFbPost ( object $post ) : Illuminate\View\View
$post object
Résultat Illuminate\View\View

fetchComments() public méthode

Fetch comments on post
public fetchComments ( datetime $newest, object $message ) : array | Illuminate\View\View
$newest datetime
$message object
Résultat array | Illuminate\View\View

fetchFbStats() public méthode

Fetch Facebook posts
public fetchFbStats ( object $post ) : array | Illuminate\View\View
$post object
Résultat array | Illuminate\View\View

fetchInnerComments() public méthode

Fetch inner comments
public fetchInnerComments ( datetime $newest, integer $postId ) : array | Illuminate\View\View
$newest datetime
$postId integer
Résultat array | Illuminate\View\View

fetchLikes() public méthode

Get Facebook page likes
public fetchLikes ( ) : array | Illuminate\View\View
Résultat array | Illuminate\View\View

fetchPosts() public méthode

Fetch posts from Facebook
public fetchPosts ( datetime $newest ) : array | Illuminate\View\View
$newest datetime
Résultat array | Illuminate\View\View

fetchPrivateConversations() public méthode

Fetches all private conversations from Facebook
public fetchPrivateConversations ( ) : array | Illuminate\View\View
Résultat array | Illuminate\View\View

fetchPrivateMessages() public méthode

Fetch all private messages
public fetchPrivateMessages ( object $conversation ) : array | Illuminate\View\View
$conversation object
Résultat array | Illuminate\View\View

newestConversationId() public méthode

Get newest conversation id
public newestConversationId ( ) : integer | boolean | Illuminate\View\View
Résultat integer | boolean | Illuminate\View\View

newestPostId() public méthode

Get newest post ID (Facebook)
public newestPostId ( ) : integer | boolean | Illuminate\View\View
Résultat integer | boolean | Illuminate\View\View

publishPost() public méthode

Publish post
public publishPost ( string $post ) : array | Illuminate\View\View
$post string
Résultat array | Illuminate\View\View

Property Details

$config protected_oe property

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