\FacebookInfo

Facebook Plugin Information versioning information

Summary

Methods
Properties
Constants
getConfig()
version()
name()
author()
email()
link()
license()
description()
getOptions()
randPass()
_isAvailable()
parseSignedRequest()
base64_url_decode()
$options
$configs
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$options

$options

Available options to call

$configs

$configs : array

Facebook configurations stored in app/config/facebook.php

Type

array

Methods

getConfig()

getConfig( $key) : mixed

Testing getting a configuration option.

Parameters

$key

Returns

mixed —

result of configuration key.

version()

version() : string

Get the version of the Facebook Plugin

Returns

string —

version number

name()

name() : string

Get the offical name of the Facebook Plugin

Returns

string —

plugin name

author()

author() : string

Get the name of the author

Returns

string —

plugin author

email()

email() : string

Get the support email

Returns

string —

plugin support email

link()

link() : string

Get the website for Facebook Plugin

Returns

string —

plugin link

license()

license() : string

Get the license for Facebook Plugin

Returns

string —

plugin license

description()

description() : string

Get the description for Facebook Plugin

Returns

string —

plugin description

getOptions()

getOptions()

Get the available options list

randPass()

randPass( $length) : string

Random strong string password generator

Parameters

$length

Returns

string —

password

_isAvailable()

_isAvailable( $name)

Utility method to test if this is available key.

Parameters

$name

parseSignedRequest()

parseSignedRequest( $signed_request) : \associative

Parse the signed request from registration

Parameters

$signed_request

Returns

\associative —

array of registration data

base64_url_decode()

base64_url_decode( $input) : string

Helper function to base64 decode a string passed through a url.

Parameters

$input

Returns

string —

base64_decoded