Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPost error differing number of rows: 0, 1 #171

Open
seuriously opened this issue Feb 13, 2018 · 3 comments
Open

getPost error differing number of rows: 0, 1 #171

seuriously opened this issue Feb 13, 2018 · 3 comments

Comments

@seuriously
Copy link

Hi,

I've been facing this error while running getPost:

getPost(me_page_i$id[1], token = fb_oauth)
Error in data.frame(from_id = json$from$id, from_name = json$from$name,  : 
  arguments imply differing number of rows: 0, 1

I've been noticing the pattern why its happen. If number of comments is quite large (>20'ish) there would be no error. Else, it would throw above error.

@jasonobrero
Copy link

image
RStudio traceback contains the following.

@ashgreat
Copy link

I get this error even when the number of comments is large. As these fields are anyway NA in the new API, perhaps it's better to drop them altogether.

Error in data.frame(from_id = json$from$id, from_name = json$from$name, :
arguments imply differing number of rows: 0, 1

@honeygupta94
Copy link

I faced this error when I try to extract comments of Community Posts on a public page. Since the from id and name are NA , functions seems to throw an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants