include/externalAPI/Facebook/ExtAPIFacebook.php
\ExtAPIFacebook
Package:
Parameters
Returns
Base implementation for external API
- Parent(s)
- \WebFeed < \ExternalAPIPlugin
Constants
APP_STRING_ERROR_PREFIX
= 'ERR_EXTERNAL_API_'
inheritedInherited from:
\ExternalAPIBase::APP_STRING_ERROR_PREFIX
- Inherited_from
- \ExternalAPIBase::APP_STRING_ERROR_PREFIX
Properties
$_appStringErrorPrefix= 'self::APP_STRING_ERROR_PREFIX'
inheritedInherited from:
\ExternalAPIBase::$$_appStringErrorPrefix
Default value
self::APP_STRING_ERROR_PREFIX
Details- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$_appStringErrorPrefix
$account_name= ''
inheritedInherited from:
\ExternalAPIBase::$$account_name
Details
- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$account_name
$account_password= ''
inheritedInherited from:
\ExternalAPIBase::$$account_password
Details
- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$account_password
$oauthParams= 'array(
'signatureMethod' => 'HMAC-SHA1',
)'
Default value
array(
'signatureMethod' => 'HMAC-SHA1',
)
Details- Type
- n/a
Methods
checkLogin(
\EAPM $eapmBean
=
null
)
:
void
Check login
Parameters
Name | Type | Description |
---|---|---|
$eapmBean | \EAPM |
formatCallbackURL(
\$callback_url $callback_url
)
:
String
This function takes a callback_url and checks the $_REQUEST variable to see if additional parameters should be appended to the callback_url value. The $_REQUEST variables that are being checked deal with handling the behavior of closing/hiding windows/tabs that are displayed when prompting for OAUTH validation
Name | Type | Description |
---|---|---|
$callback_url | \$callback_url | String value of callback URL |
Type | Description |
---|---|
String | value of URL with applicable formatting |
getConnectorParam(
string $name
)
:
mixed
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
mixed |
getErrorStringFromCode(
\unknown_type $error_numb
)
:
void
inherited
Allow API clients to provide translated language strings for a given error code
Inherited from: \ExternalAPIBase::getErrorStringFromCode()
Parameters
Name | Type | Description |
---|---|---|
$error_numb | \unknown_type |
getLatestUpdates(
$maxTime, $maxEntries
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$maxTime | ||
$maxEntries |
getValue(
$value
)
:
void
inherited
Inherited from:
\ExternalAPIBase::getValue()
Parameters
Name | Type | Description |
---|---|---|
$value |
isMimeDetectionAvailable(
)
:
bool
inherited
Determine if mime detection extensions are available.
Inherited from: \ExternalAPIBase::isMimeDetectionAvailable()
Returns
Type | Description |
---|---|
bool |
loadEAPM(
\EAPM $eapmBean
)
:
void
Load authorization data
Parameters
Name | Type | Description |
---|---|---|
$eapmBean | \EAPM |
postData(
$url, $postfields, $headers
)
:
void
inherited
Inherited from:
\ExternalAPIBase::postData()
Parameters
Name | Type | Description |
---|---|---|
$url | ||
$postfields | ||
$headers |