class CFacebook


Located at : UKNOWVA_ROOT/components/com_community/libraries/facebook.php

Wrapper class for Facebook's API.

Properties

$facebook
$lib Deprecated since 1.8.x
$userId

Methods

__construct($requireLogin = false)

Initial method

getInstance($requireLogin = true)

Deprecated since 1.5

getUserInfo($fields, $uid)

Return user's data that is fetched from Facebook

getUserId()

Deprecated since 1.8

mapAvatar($avatarUrl = '', $joomlaUserId, $addWaterMark)

No description

mapProfile($values, $userId)

Maps a user profile with JomSocial's default custom values

postStatus($message)

Posts a status into user's facebook stream

mapStatus(Array $userId)

Maps a user status with JomSocial's user status

getUser()

No description

String
getLoginHTML()

Gets the html content of the Facebook login

getButtonHTML()

Deprecated since 1.8.x

Details

at line 43
__construct($requireLogin = false)

Initial method

Parameters

$requireLogin

at line 63
getInstance($requireLogin = true)

Deprecated since 1.5

Parameters

$requireLogin

at line 80
getUserInfo($fields, $uid)

Return user's data that is fetched from Facebook

Parameters

$fields
$uid

at line 102
getUserId()

Deprecated since 1.8

at line 108
mapAvatar($avatarUrl = '', $joomlaUserId, $addWaterMark)

Parameters

$avatarUrl
$joomlaUserId
$addWaterMark

at line 239
mapProfile($values, $userId)

Maps a user profile with JomSocial's default custom values

Parameters

$values
$userId

at line 294
postStatus($message)

Posts a status into user's facebook stream

Parameters

$message

at line 319
mapStatus(Array $userId)

Maps a user status with JomSocial's user status

Parameters

Array $userId User values

at line 384
getUser()

at line 415
String getLoginHTML()

Gets the html content of the Facebook login

Return Value

String the html data

at line 430
getButtonHTML()

Deprecated since 1.8.x