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

problem with collecting from particular Facebook pages #29

Open
rjackland opened this issue Feb 11, 2018 · 2 comments
Open

problem with collecting from particular Facebook pages #29

rjackland opened this issue Feb 11, 2018 · 2 comments

Comments

@rjackland
Copy link
Collaborator

Attempting to collect from a particular Facebook page and while there appears to be public posts being collected, when it gets to the stage of "Collecting maximum of 1000 comments and likes for each post." there are numerous error messages:

Facebook API caused an unknown error while retrieving post ID, [post ID]
Condition: Error in while (n.l < n.likes & length(content$data) > 0 & !is.null(url <- content$paging$next)) {: argument is of length zero

The resulting graph is empty, as is the csv file (dumped data frame).

This problem was originally reported by another user and I confirmed the problem.

Can still collect successfully from other Facebook pages.

@rjackland rjackland added the bug label Feb 11, 2018
@chainsawriot
Copy link
Contributor

It probably is a problem introduces by v2.11 of graph API in which no user information will be returned anymore unless the access token is created by the page's owner.

https://developers.facebook.com/docs/graph-api/changelog/version2.11#gapi-90-pages

@rjackland rjackland removed the bug label Feb 13, 2018
@rjackland
Copy link
Collaborator Author

rjackland commented Feb 13, 2018

Yes I confirm that this behaviour is a result of the v2.11 FB API which was introduced 7 Nov 2017 but some of the effects only became apparent in recent weeks due to:

"90-Day Breaking Changes — Changes and deprecations that will take effect 90 days after the version release date."

I just tried my test FB data collection which ran fine when I last tried it early Feb but I can confirm that now all I get back is the posts on the page: none of the comments/likes.

So with v2.11, Facebook collection in SocialMediaLab is effectively broken, unless all you want is the posts by the page owner, or (as @chainsawriot noted above) the access token is created by the page owner.

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

2 participants