Fix nonexisting field in getCommentReplies method#82
Open
pdelboca wants to merge 1 commit intopablobarbera:masterfrom
Open
Fix nonexisting field in getCommentReplies method#82pdelboca wants to merge 1 commit intopablobarbera:masterfrom
pdelboca wants to merge 1 commit intopablobarbera:masterfrom
Conversation
…o fix nonexisting fields error.
Owner
|
Thanks for your contribution! Do you have an example of a page or comment where you get this error? The example in ?getCommentReplies still works for me: load("fb_oauth")
fb_page <- getPage(page="facebook", token=fb_oauth)
post <- getPost(post=fb_page$id[1], n=2000, token=fb_oauth)
replies <- getCommentReplies(comment_id=post$comments$id[1], token=fb_oauth)Perhaps this only applies to specific pages? (I would like to keep these two fields, because I think they provide important information about the original comment.) |
|
does this include original comments and replies? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When trying to retrieve comment replies, the method throws an error:
Even when the documentation says those fields exists, they don't. I've tried to retrieve them with the Graph Api Explorer but it throws the same error.
Removing those fields from the url and the dataframe creation allows to get the replies to the comment.