FacebookMixedCollection-class: A generic collection of Facebook elements

Description Details Slots Author(s) See Also

Description

This class is used to collect in a convenient structure elements of any kind.

Details

This collection should not be built directly, as it performs no sanity check on its content. However, among all the available collections, it's the only one that can have mixed content inside, so many finder functions like facebook.search or facebook.object.likes fill this as return value. But, for the same reason, it cannot hold fields different from id.

If you exactly know what you're doing you could eventually build an instance of this class to perform generic queries to Graph API, but it's not guaranteed to work and it probably won't, actually.

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

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


theclue/facebook.S4 documentation built on May 31, 2019, 9:11 a.m.