FacebookPost

A Facebook post.

Constructors

this
this(FacebookService service, string id)

Creates a new Facebook post.

Members

Functions

appendComment
string appendComment(string commentId, string message, string photo)

Appends a comment to another comment.

readComments
FacebookComment[] readComments(string order)

Reads the first set of comments from the post. Use readNextComments() to read the next set of comments.

readNextComments
FacebookComment[] readNextComments()

Reads the next set of comments from the post. Make sure to check hasMoreComments before calling this.

updateLinkAndPhoto
void updateLinkAndPhoto()

Updates the post link and picture.

updatePostInfo
void updatePostInfo(string[] fields, void delegate(string, Json) fieldReader)

Updates the post information.

updateReacts
void updateReacts()

Updates the reactions of the post.

writeComment
string writeComment(string message, string photo)

Writes a comment on the post.

Properties

angryReacts
FacebookReact[] angryReacts [@property getter]

Gets the angry reactions.

createdTime
string createdTime [@property getter]

Gets the time the post was created.

hahaReacts
FacebookReact[] hahaReacts [@property getter]

Gets the haha reactions.

hasMoreComments
bool hasMoreComments [@property getter]

Gets a boolean determining whether there are more comments to load.

id
string id [@property getter]

Gets the id of the post.

likeReacts
FacebookReact[] likeReacts [@property getter]

Gets the like reactions.

link
string link [@property getter]

Gets the link of the post.

loveReacts
FacebookReact[] loveReacts [@property getter]

Gets the love reactions.

message
string message [@property getter]

Gets the message of the post.

picture
string picture [@property getter]

Gets the picture of the post.

sadReacts
FacebookReact[] sadReacts [@property getter]

Gets sad reactions.

totalInclusivePositiveReacts
size_t totalInclusivePositiveReacts [@property getter]

Gets the total inclusive positive reactions.

totalNegativeReacts
size_t totalNegativeReacts [@property getter]

Gets the total negative reactions.

totalPositiveReacts
size_t totalPositiveReacts [@property getter]

Gets the total positive reactions.

totalReactionRate
ptrdiff_t totalReactionRate [@property getter]

Gets the totoal reaction rate.

totalReacts
size_t totalReacts [@property getter]

Gets the total reactions.

wowReacts
FacebookReact[] wowReacts [@property getter]

Gets the wow reactions.

Meta