Extract total count of reactions to one or more Facebook posts
Extract total count of reactions to one or more Facebook posts
getReactions retrieves information from a single or multiple posts, returning the total count of reactions of each type (like, love, haha, wow, sad, angry).
getReactions(post, token, verbose =TRUE, api =NULL)
## Not run:## See examples for fbOAuth to know how token was created.## Getting information about Facebook's Facebook Pageload("fb_oauth")fb_page <- getPage(page="facebook", token=fb_oauth)## Getting reactions for most recent postpost <- getReactions(post=fb_page$id[1], token=fb_oauth)## End(Not run)