FacebookLikesCollection-class: Class for representing a Collection of Facebook likes

Description Details Slots Author(s) See Also

Description

This class is used to collect Facebook likes in a convenient structure.

Use the FacebookLikesCollection constructor for building a instance of this class, as it provides better sanity and validation checks.

Details

Although they are named the same in the Facebook jargon, likes to posts or comments are different to users' likes. This collection covers the first, while the facebook.object.likes the latter.

Slots

data

The raw data in a list form and as pulled from Facebook

id

A character vector with the id of the items included in the collection

fields

A character vector with the fields included for each ID in the collection. Ie. id, name, created_time...

token

Either a temporary access token created at https://developers.facebook.com/tools/explorer or the OAuth token created with fbOAuth used to fill the collection.

parent

A character vector of the parent id of the items included in the collection or NA if the items have no valid inheritance

parent.collection

The collection used to build this one, or NA if the collection was built from a character vectors of ids.

type

A character vector with the type of each element of the collection. It's set only if the collection has been built with metadata=TRUE

Author(s)

Gabriele Baldassarre https://gabrielebaldassarre.com

See Also

facebook.object.likes

Other Facebook Collections: FacebookAlbumsCollection-class, FacebookCommentsCollection-class, FacebookConversationsCollection-class, FacebookEventsCollection-class, FacebookGenericCollection-class, FacebookGroupsCollection-class, FacebookMessagesCollection-class, FacebookMixedCollection-class, FacebookPagesCollection-class, FacebookPhotosCollection-class, FacebookPostsCollection-class, FacebookReactionsCollection-class, FacebookVideosCollection-class


facebook.S4 documentation built on May 2, 2019, 4 a.m.