powered by
Connect to an API Graph's token and get posts comments given the post(s) id.
fb_post(token, post_id, limit = 5000)
Character. Valid access token with sufficient privileges. Visit the Facebook API Graph Explorer to acquire one.
Character vector. Post id(s)
Integer. Query limit
data.frame with un-nested processed results fetched with API.
Other API: bring_api(), fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_process(), fb_rf(), fb_token(), li_auth(), li_profile(), queryGA(), slackSend()
bring_api()
fb_accounts()
fb_ads()
fb_creatives()
fb_insights()
fb_posts()
fb_process()
fb_rf()
fb_token()
li_auth()
li_profile()
queryGA()
slackSend()
Other Facebook: fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_process(), fb_rf(), fb_token()
# NOT RUN { token <- YOURTOKEN ids <- c(POST_ID1, POST_ID2) # Query 50 comments for two post ids posts <- fb_post(token, ids, 50) # }
Run the code above in your browser using DataLab