Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
getUser ($user) | |
getFriends ($user, $limit=0, $offset=0) | |
getFriendRequests ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getFriendLists ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getFeed ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getHome ($user, $filter=null, $location=false, $limit=0, $offset=0, $until=null, $since=null) | |
hasFriend ($current_user, $user) | |
getMutualFriends ($current_user, $user, $limit=0, $offset=0) | |
getPicture ($user, $redirect=true, $type=null) | |
getFamily ($user, $limit=0, $offset=0) | |
getNotifications ($user, $read=null, $limit=0, $offset=0, $until=null, $since=null) | |
updateNotification ($notification) | |
getPermissions ($user, $limit=0, $offset=0) | |
deletePermission ($user, $permission= '') | |
getAlbums ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createAlbum ($user, $name, $description=null, $privacy=null) | |
getCheckins ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createCheckin ($user, $place, $coordinates, $tags=null, $message=null, $link=null, $picture=null) | |
getLikes ($user, $limit=0, $offset=0, $until=null, $since=null) | |
likesPage ($user, $page) | |
getEvents ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createEvent ($user, $name, $start_time, $end_time=null, $description=null, $location=null, $location_id=null, $privacy_type=null) | |
editEvent ($event, $name=null, $start_time=null, $end_time=null, $description=null, $location=null, $location_id=null, $privacy_type=null) | |
deleteEvent ($event) | |
getGroups ($user, $limit=0, $offset=0) | |
getLinks ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createLink ($user, $link, $message=null) | |
deleteLink ($link) | |
getNotes ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createNote ($user, $subject, $message) | |
getPhotos ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createPhoto ($user, $source, $message=null, $place=null, $no_story=null) | |
getPosts ($user, $location=false, $limit=0, $offset=0, $until=null, $since=null) | |
createPost ($user, $message=null, $link=null, $picture=null, $name=null, $caption=null, $description=null, $actions=null, $place=null, $tags=null, $privacy=null, $object_attachment=null) | |
deletePost ($post) | |
getStatuses ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createStatus ($user, $message) | |
deleteStatus ($status) | |
getVideos ($user, $limit=0, $offset=0, $until=null, $since=null) | |
createVideo ($user, $source, $title=null, $description=null) | |
getTagged ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getActivities ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getBooks ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getInterests ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getMovies ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getTelevision ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getMusic ($user, $limit=0, $offset=0, $until=null, $since=null) | |
getSubscribers ($user, $limit=0, $offset=0) | |
getSubscribedTo ($user, $limit=0, $offset=0) | |
Fonctions membres publiques inherited from JFacebookObject | |
__construct (JRegistry $options=null, JHttp $client=null, JFacebookOAuth $oauth=null) | |
sendRequest ($path, $data= '', array $headers=null, $limit=0, $offset=0, $until=null, $since=null) | |
get ($object) | |
getConnection ($object, $connection=null, $extra_fields= '', $limit=0, $offset=0, $until=null, $since=null) | |
createConnection ($object, $connection=null, $parameters=null, array $headers=null) | |
deleteConnection ($object, $connection=null, $extra_fields= '') | |
setOAuth ($oauth) | |
getOAuth () |
Additional Inherited Members | |
Fonctions membres protégées inherited from JFacebookObject | |
fetchUrl ($path, $limit=0, $offset=0, $until=null, $since=null) | |
Attributs protégés inherited from JFacebookObject | |
$options | |
$client | |
$oauth |
JFacebookUser::createAlbum | ( | $user, | |
$name, | |||
$description = null , |
|||
$privacy = null |
|||
) |
Method to create an album for a user. Requires authentication and publish_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $name | Album name. |
string | $description | Album description. |
json | $privacy | A JSON-encoded object that defines the privacy setting for the album. |
Définition à la ligne 319 du fichier user.php.
JFacebookUser::createCheckin | ( | $user, | |
$place, | |||
$coordinates, | |||
$tags = null , |
|||
$message = null , |
|||
$link = null , |
|||
$picture = null |
|||
) |
Method to create a checkin for a user. Requires authentication and publish_checkins permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $place | Id of the Place Page. |
string | $coordinates | A JSON-encoded string containing latitute and longitude. |
string | $tags | Comma separated list of USER_IDs. |
string | $message | A message to add to the checkin. |
string | $link | A link to add to the checkin. |
string | $picture | A picture to add to the checkin. |
Définition à la ligne 363 du fichier user.php.
JFacebookUser::createEvent | ( | $user, | |
$name, | |||
$start_time, | |||
$end_time = null , |
|||
$description = null , |
|||
$location = null , |
|||
$location_id = null , |
|||
$privacy_type = null |
|||
) |
Method to create an event for a user. Requires authentication create_event permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $name | Event name. |
string | $start_time | Event start time as UNIX timestamp. |
string | $end_time | Event end time as UNIX timestamp. |
string | $description | Event description. |
string | $location | Event location. |
string | $location_id | Facebook Place ID of the place the Event is taking place. |
string | $privacy_type | Event privacy setting, a string containing 'OPEN' (default), 'CLOSED', or 'SECRET'. |
Définition à la ligne 444 du fichier user.php.
JFacebookUser::createLink | ( | $user, | |
$link, | |||
$message = null |
|||
) |
Method to post a link on user's feed. Requires authentication and publish_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $link | Link URL. |
strin | $message | Link message. |
Définition à la ligne 551 du fichier user.php.
JFacebookUser::createNote | ( | $user, | |
$subject, | |||
$message | |||
) |
Method to create a note on the behalf of the user. Requires authentication and publish_stream permission, user_groups or friends_groups permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $subject | The subject of the note. |
string | $message | Note content. |
Définition à la ligne 605 du fichier user.php.
JFacebookUser::createPhoto | ( | $user, | |
$source, | |||
$message = null , |
|||
$place = null , |
|||
$no_story = null |
|||
) |
Method to post a photo on user's wall. Requires authentication and publish_stream permission, user_groups or friends_groups permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $source | Path to photo. |
string | $message | Photo description. |
string | $place | Facebook ID of the place associated with the photo. |
boolean | $no_story | If set to 1, optionally suppresses the feed story that is automatically generated on a user’s profile when they upload a photo using your application. |
Définition à la ligne 647 du fichier user.php.
JFacebookUser::createPost | ( | $user, | |
$message = null , |
|||
$link = null , |
|||
$picture = null , |
|||
$name = null , |
|||
$caption = null , |
|||
$description = null , |
|||
$actions = null , |
|||
$place = null , |
|||
$tags = null , |
|||
$privacy = null , |
|||
$object_attachment = null |
|||
) |
Method to post on a user's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $message | Post message. |
string | $link | Post URL. |
string | $picture | Post thumbnail image (can only be used if link is specified) |
string | $name | Post name (can only be used if link is specified). |
string | $caption | Post caption (can only be used if link is specified). |
string | $description | Post description (can only be used if link is specified). |
array | $actions | Post actions array of objects containing name and link. |
string | $place | Facebook Page ID of the location associated with this Post. |
string | $tags | Comma-separated list of Facebook IDs of people tagged in this Post. For example: 1207059,701732. You cannot specify this field without also specifying a place. |
string | $privacy | Post privacy settings (can only be specified if the Timeline being posted on belongs to the User creating the Post). |
string | $object_attachment | Facebook ID for an existing picture in the User's photo albums to use as the thumbnail image. The User must be the owner of the photo, and the photo cannot be part of a message attachment. |
Définition à la ligne 707 du fichier user.php.
JFacebookUser::createStatus | ( | $user, | |
$message | |||
) |
Method to post a status message on behalf of the user. Requires authentication publish_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $message | Status message content. |
Définition à la ligne 769 du fichier user.php.
JFacebookUser::createVideo | ( | $user, | |
$source, | |||
$title = null , |
|||
$description = null |
|||
) |
Method to post a video on behalf of the user. Requires authentication and publish_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $source | Path to video. |
string | $title | Video title. |
string | $description | Video description. |
Définition à la ligne 823 du fichier user.php.
JFacebookUser::deleteEvent | ( | $event | ) |
Method to delete an event. Note: you can only delete the event if it was created by the same app. Requires authentication create_event permission.
string | $event | Event ID. |
JFacebookUser::deleteLink | ( | $link | ) |
Method to delete a link. Requires authentication and publish_stream permission.
mixed | $link | The Link ID. |
JFacebookUser::deletePermission | ( | $user, | |
$permission = '' |
|||
) |
Method to revoke a specific permission on behalf of a user. Requires authentication.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $permission | The permission to revoke. If none specified, then this will de-authorize the application completely. |
JFacebookUser::deletePost | ( | $post | ) |
Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication
string | $post | The Post ID. |
JFacebookUser::deleteStatus | ( | $status | ) |
Method to delete a status. Note: you can only delete the post if it was created by the current user. Requires authentication publish_stream permission.
string | $status | The Status ID. |
JFacebookUser::editEvent | ( | $event, | |
$name = null , |
|||
$start_time = null , |
|||
$end_time = null , |
|||
$description = null , |
|||
$location = null , |
|||
$location_id = null , |
|||
$privacy_type = null |
|||
) |
Method to edit an event. Requires authentication create_event permission.
mixed | $event | Event ID. |
string | $name | Event name. |
string | $start_time | Event start time as UNIX timestamp. |
string | $end_time | Event end time as UNIX timestamp. |
string | $description | Event description. |
string | $location | Event location. |
string | $location_id | Facebook Place ID of the place the Event is taking place. |
string | $privacy_type | Event privacy setting, a string containing 'OPEN' (default), 'CLOSED', or 'SECRET'. |
Définition à la ligne 476 du fichier user.php.
JFacebookUser::getActivities | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the activities listed on the user's profile. Requires authentication and user_activities or friends_activities permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getAlbums | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's albums. Requires authentication and user_photos or friends_photos permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getBooks | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the books listed on the user's profile. Requires authentication and user_likes or friends_likes permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getCheckins | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's checkins. Requires authentication and user_checkins or friends_checkins permission
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getEvents | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the current user's events. Requires authentication and user_events or friends_events permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getFamily | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the user's family relationships. Requires authentication and user_relationships permission..
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getFeed | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's wall. Requires authentication and read_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getFriendLists | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's friend lists. Requires authentication and read_friendlists permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getFriendRequests | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's incoming friend requests. Requires authentication and read_requests permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getFriends | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the specified user's friends. Requires authentication.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getGroups | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the groups that the user belongs to. Requires authentication and user_groups or friends_groups permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getHome | ( | $user, | |
$filter = null , |
|||
$location = false , |
|||
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's news feed. Requires authentication and read_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $filter | User's stream filter. |
boolean | $location | Retreive only posts with a location attached. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
Définition à la ligne 124 du fichier user.php.
JFacebookUser::getInterests | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the interests listed on the user's profile. Requires authentication.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getLikes | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's likes. Requires authentication and user_likes or friends_likes permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getLinks | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's posted links. Requires authentication and user_groups or friends_groups permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getMovies | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the movies listed on the user's profile. Requires authentication and user_likes or friends_likes permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getMusic | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the music listed on the user's profile. Requires authentication user_likes or friends_likes permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getMutualFriends | ( | $current_user, | |
$user, | |||
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get mutual friends of one user and the current user. Requires authentication.
mixed | $current_user | Either an integer containing the user ID or a string containing the username for the current user. |
mixed | $user | Either an integer containing the user ID or a string containing the username for the user. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getNotes | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's notes. Requires authentication and user_groups or friends_groups permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getNotifications | ( | $user, | |
$read = null , |
|||
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's notifications. Requires authentication and manage_notifications permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
boolean | $read | Enables you to see notifications that the user has already read. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
Définition à la ligne 231 du fichier user.php.
JFacebookUser::getPermissions | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the user's permissions. Requires authentication.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getPhotos | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's photos. Requires authentication and user_groups or friends_groups permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getPicture | ( | $user, | |
$redirect = true , |
|||
$type = null |
|||
) |
Method to get the user's profile picture. Requires authentication.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
boolean | $redirect | If false this will return the URL of the profile picture without a 302 redirect. |
string | $type | To request a different photo use square | small | normal | large. |
Définition à la ligne 184 du fichier user.php.
JFacebookUser::getPosts | ( | $user, | |
$location = false , |
|||
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's posts. Requires authentication and read_stream permission for non-public posts.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
boolean | $location | Retreive only posts with a location attached. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
Définition à la ligne 673 du fichier user.php.
JFacebookUser::getStatuses | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the user's statuses. Requires authentication read_stream permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getSubscribedTo | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the people the user is subscribed to. Requires authentication and user_subscriptions or friends_subscriptions permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getSubscribers | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 |
|||
) |
Method to get the user's subscribers. Requires authentication and user_subscriptions or friends_subscriptions permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
JFacebookUser::getTagged | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the posts the user has been tagged in. Requires authentication and user_videos or friends_videos permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getTelevision | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the television listed on the user's profile. Requires authentication and user_likes or friends_likes permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::getUser | ( | $user | ) |
Method to get the specified user's details. Authentication is required only for some fields.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
Définition à la ligne 34 du fichier user.php.
JFacebookUser::getVideos | ( | $user, | |
$limit = 0 , |
|||
$offset = 0 , |
|||
$until = null , |
|||
$since = null |
|||
) |
Method to get the videos the user has been tagged in. Requires authentication and user_videos or friends_videos permission.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
integer | $limit | The number of objects per page. |
integer | $offset | The object's number on the page. |
string | $until | A unix timestamp or any date accepted by strtotime. |
string | $since | A unix timestamp or any date accepted by strtotime. |
JFacebookUser::hasFriend | ( | $current_user, | |
$user | |||
) |
Method to see if a user is a friend of the current user. Requires authentication.
mixed | $current_user | Either an integer containing the user ID or a string containing the username for the current user. |
mixed | $user | Either an integer containing the user ID or a string containing the username for the user. |
JFacebookUser::likesPage | ( | $user, | |
$page | |||
) |
Method to see if a user likes a specific Page. Requires authentication.
mixed | $user | Either an integer containing the user ID or a string containing the username. |
string | $page | Facebook ID of the Page. |
JFacebookUser::updateNotification | ( | $notification | ) |
Method to mark a notification as read. Requires authentication and manage_notifications permission.
string | $notification | The notification id. |