- 
                    SuppressWarnings
                
 
                - 
                                                                                
                                                 
                                    
 
                                            
    Table of Contents
    
    Constants
    
            - 
    FACEBOOK_GRAPH_POST
    
         = 'oembed_post'                            
 
            - 
    FACEBOOK_GRAPH_VIDEO
    
         = 'oembed_video'                            
 
    
    Properties
    
            - 
    $appId
    
                         : string            
 
            - 
    $appSecret
    
                         : string            
 
            - 
    $graphDomain
    
                         : string            
 
            - 
    $graphVersion
    
                         : string            
 
            - 
    $patterns
    
                         : array<string|int, mixed>            
 
    
    Methods
    
            - 
    __construct()
    
                                 : mixed    
 
            - 
    parseUrl()
    
                                 : array<string|int, mixed>|null    
 
            - 
    setOptions()
    
                                 : void    
 
            - 
    verifyUrl()
    
                                 : bool    
 
            - 
    get()
    
                                 : Response    
 
            - 
    getEndpoint()
    
                                 : string    
 
            - 
    getOEmbed()
    
                                 : string    
 
            - 
    getToken()
    
                                 : string    
 
            - 
    isVideo()
    
                                 : bool    
 
    
        
    
        
                    
    
        FACEBOOK_GRAPH_POST
        
    
    
    
    
    public
        mixed
    FACEBOOK_GRAPH_POST
    = 'oembed_post'
    
    
    
                    
    
        FACEBOOK_GRAPH_VIDEO
        
    
    
    
    
    public
        mixed
    FACEBOOK_GRAPH_VIDEO
    = 'oembed_video'
    
    
    
            
        
    
        
                    
    
        $appId
        
        
                                
    
    
    
    
    private
        string
    $appId
     = ''
    
    
    
                    
    
        $appSecret
        
        
                                
    
    
    
    
    private
        string
    $appSecret
     = ''
    
    
    
                    
    
        $graphDomain
        
        
                                
    
    
    
    
    private
        string
    $graphDomain
     = 'https://graph.facebook.com'
    
    
    
                    
    
        $graphVersion
        
        
                                
    
    
    
    
    private
        string
    $graphVersion
     = '8.0'
    
    
    
                    
    
        $patterns
        
        
                                
    
    
    
    
    private
        array<string|int, mixed>
    $patterns
     = ['/http(?:s?):\\/\\/(?:www\\.|web\\.|m\\.)?facebook\\.com\\/([A-z0-9\\.]+)\\/videos(?:\\/[0-9A-z].+)?\\/(\\d+)(?:.+)?$/', '/http(?:s?):\\/\\/(?:www\\.|web\\.|m\\.)?facebook\\.com\\/(reel)(?:\\/[0-9A-z].+)?\\/(\\d+)(?:.+)?$/', '/http(?:s?):\\/\\/(fb\\.watch)\\/([A-z0-9_\\-]+)/']
    
    
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct([array<string|int, mixed> $options = [] ]) : mixed
    
        
    
        Parameters
    
                    - 
                $options
                : array<string|int, mixed>
                 = []            
 
            - 
                
            
 
            
    
    
                    
    
        parseUrl()
        
    
    
    
    
    public
                    parseUrl(string $url) : array<string|int, mixed>|null
    
        
    
        Parameters
    
                    - 
                $url
                : string
                            
 
            - 
                
            
 
            
    
            
        Return values
        array<string|int, mixed>|null
            
                    
    
        setOptions()
        
    
    
    
    
    public
                    setOptions(array<string|int, mixed> $options) : void
    
        
    
        Parameters
    
                    - 
                $options
                : array<string|int, mixed>
                            
 
            - 
                
            
 
            
    
    
                    
    
        verifyUrl()
        
    
    
    
    
    public
                    verifyUrl(string $url[, mixed &$matches = [] ]) : bool
    
        
    
        Parameters
    
                    - 
                $url
                : string
                            
 
            - 
                
            
 
                    - 
                $matches
                : mixed
                 = []            
 
            - 
                
            
 
            
    
            
                    
    
        get()
        
    
    
    
    
    protected
                    get(string $url[, array<string|int, mixed> $query = [] ][, array<string|int, mixed> $headers = [] ]) : Response
    
        
    
        Parameters
    
                    - 
                $url
                : string
                            
 
            - 
                
            
 
                    - 
                $query
                : array<string|int, mixed>
                 = []            
 
            - 
                
            
 
                    - 
                $headers
                : array<string|int, mixed>
                 = []            
 
            - 
                
            
 
            
    
            
                    
    
        getEndpoint()
        
    
    
    
    
    protected
                    getEndpoint(string $url) : string
    
        
    
        Parameters
    
                    - 
                $url
                : string
                            
 
            - 
                
            
 
            
    
            
                    
    
        getOEmbed()
        
    
    
    
    
    protected
                    getOEmbed(string $url) : string
    
        
    
        Parameters
    
                    - 
                $url
                : string
                            
 
            - 
                
            
 
            
    
            
                    
    
        getToken()
        
    
    
    
    
    protected
                    getToken() : string
    
        
    
    
    
            
                    
    
        isVideo()
        
    
    
    
    
    protected
                    isVideo(string $url) : bool
    
        
    
        Parameters
    
                    - 
                $url
                : string
                            
 
            -