\JFacebookUser
Facebook API User class for the Joomla Platform.
Synopsis
class JFacebookUser
extends JFacebookObject
{
- // Inherited members from JFacebookObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JFacebookOAuth $oauth;
- // methods
- public mixed getUser()
- public mixed getFriends()
- public mixed getFriendRequests()
- public mixed getFriendLists()
- public mixed getFeed()
- public mixed getHome()
- public mixed hasFriend()
- public mixed getMutualFriends()
- public string getPicture()
- public mixed getFamily()
- public mixed getNotifications()
- public boolean updateNotification()
- public mixed getPermissions()
- public mixed deletePermission()
- public mixed getAlbums()
- public mixed createAlbum()
- public mixed getCheckins()
- public mixed createCheckin()
- public mixed getLikes()
- public mixed likesPage()
- public mixed getEvents()
- public mixed createEvent()
- public mixed editEvent()
- public boolean deleteEvent()
- public mixed getGroups()
- public mixed getLinks()
- public mixed createLink()
- public boolean deleteLink()
- public mixed getNotes()
- public mixed createNote()
- public mixed getPhotos()
- public mixed createPhoto()
- public mixed getPosts()
- public mixed createPost()
- public mixed deletePost()
- public mixed getStatuses()
- public mixed createStatus()
- public mixed deleteStatus()
- public mixed getVideos()
- public mixed createVideo()
- public mixed getTagged()
- public mixed getActivities()
- public mixed getBooks()
- public mixed getInterests()
- public mixed getMovies()
- public mixed getTelevision()
- public mixed getMusic()
- public mixed getSubscribers()
- public mixed getSubscribedTo()
- // Inherited methods from JFacebookObject
- public void __construct()
- protected string fetchUrl()
- public mixed sendRequest()
- public mixed get()
- public mixed getConnection()
- public mixed createConnection()
- public mixed deleteConnection()
- public JFacebookObject setOAuth()
- public JFacebookOAuth getOAuth()
Hierarchy
Extends
Members
protected
- $client — JHttp
- $oauth — JFacebookOAuth
- $options — JRegistry
Methods
public
- createAlbum() — Method to create an album for a user. Requires authentication and publish_stream permission.
- createCheckin() — Method to create a checkin for a user. Requires authentication and publish_checkins permission.
- createEvent() — Method to create an event for a user. Requires authentication create_event permission.
- createLink() — Method to post a link on user's feed. Requires authentication and publish_stream permission.
- createNote() — Method to create a note on the behalf of the user.
- createPhoto() — Method to post a photo on user's wall. Requires authentication and publish_stream permission, user_groups or friends_groups permission.
- createPost() — Method to post on a user's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
- createStatus() — Method to post a status message on behalf of the user. Requires authentication publish_stream permission.
- createVideo() — Method to post a video on behalf of the user. Requires authentication and publish_stream permission.
- deleteEvent() — 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.
- deleteLink() — Method to delete a link. Requires authentication and publish_stream permission.
- deletePermission() — Method to revoke a specific permission on behalf of a user. Requires authentication.
- deletePost() — Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication
- deleteStatus() — Method to delete a status. Note: you can only delete the post if it was created by the current user.
- editEvent() — Method to edit an event. Requires authentication create_event permission.
- getActivities() — Method to get the activities listed on the user's profile. Requires authentication and user_activities or friends_activities permission.
- getAlbums() — Method to get the user's albums. Requires authentication and user_photos or friends_photos permission.
- getBooks() — Method to get the books listed on the user's profile. Requires authentication and user_likes or friends_likes permission.
- getCheckins() — Method to get the user's checkins. Requires authentication and user_checkins or friends_checkins permission
- getEvents() — Method to get the current user's events. Requires authentication and user_events or friends_events permission.
- getFamily() — Method to get the user's family relationships. Requires authentication and user_relationships permission..
- getFeed() — Method to get the user's wall. Requires authentication and read_stream permission.
- getFriendLists() — Method to get the user's friend lists. Requires authentication and read_friendlists permission.
- getFriendRequests() — Method to get the user's incoming friend requests. Requires authentication and read_requests permission.
- getFriends() — Method to get the specified user's friends. Requires authentication.
- getGroups() — Method to get the groups that the user belongs to. Requires authentication and user_groups or friends_groups permission.
- getHome() — Method to get the user's news feed. Requires authentication and read_stream permission.
- getInterests() — Method to get the interests listed on the user's profile. Requires authentication.
- getLikes() — Method to get the user's likes. Requires authentication and user_likes or friends_likes permission.
- getLinks() — Method to get the user's posted links. Requires authentication and user_groups or friends_groups permission.
- getMovies() — Method to get the movies listed on the user's profile. Requires authentication and user_likes or friends_likes permission.
- getMusic() — Method to get the music listed on the user's profile. Requires authentication user_likes or friends_likes permission.
- getMutualFriends() — Method to get mutual friends of one user and the current user. Requires authentication.
- getNotes() — Method to get the user's notes. Requires authentication and user_groups or friends_groups permission.
- getNotifications() — Method to get the user's notifications. Requires authentication and manage_notifications permission.
- getPermissions() — Method to get the user's permissions. Requires authentication.
- getPhotos() — Method to get the user's photos. Requires authentication and user_groups or friends_groups permission.
- getPicture() — Method to get the user's profile picture. Requires authentication.
- getPosts() — Method to get the user's posts. Requires authentication and read_stream permission for non-public posts.
- getStatuses() — Method to get the user's statuses. Requires authentication read_stream permission.
- getSubscribedTo() — Method to get the people the user is subscribed to. Requires authentication and user_subscriptions or friends_subscriptions permission.
- getSubscribers() — Method to get the user's subscribers. Requires authentication and user_subscriptions or friends_subscriptions permission.
- getTagged() — Method to get the posts the user has been tagged in. Requires authentication and user_videos or friends_videos permission.
- getTelevision() — Method to get the television listed on the user's profile. Requires authentication and user_likes or friends_likes permission.
- getUser() — Method to get the specified user's details. Authentication is required only for some fields.
- getVideos() — Method to get the videos the user has been tagged in. Requires authentication and user_videos or friends_videos permission.
- hasFriend() — Method to see if a user is a friend of the current user. Requires authentication.
- likesPage() — Method to see if a user likes a specific Page. Requires authentication.
- updateNotification() — Method to mark a notification as read. Requires authentication and manage_notifications permission.
Inherited from JFacebookObject
protected
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
public
- createConnection() — Method to create a connection.
- deleteConnection() — Method to delete a connection.
- get() — Method to get an object.
- getConnection() — Method to get object's connection.
- getOAuth() — Method used to get the OAuth client.
- sendRequest() — Method to send the request.
- setOAuth() — Method used to set the OAuth client.