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

Facebook collection - no posts found #28

Closed
vosonlab opened this issue Apr 18, 2017 · 4 comments
Closed

Facebook collection - no posts found #28

vosonlab opened this issue Apr 18, 2017 · 4 comments
Assignees

Comments

@vosonlab
Copy link
Collaborator

The following test Facebook collection that we use in SocialMediaLab teaching materials (see e.g. here) is failing:

g_bimodal_facebook_csg <- Authenticate("Facebook",
appID = appID, appSecret = appSecret) %>%
SaveCredential("FBCredential.RDS") %>%
Collect(pageName="StopCoalSeamGasBlueMountains", rangeFrom="2015-06-23",
rangeTo="2015-07-23", writeToFile=TRUE) %>%
Create("Bimodal")

It iterates through the days (as per normal) but then fails with:

Error. No posts found for this date range! Please try a larger range.Error. Cannot create bimodal network using this type of data (see help file for data types and sources).
Error in class(networkToReturn) <- append(class(networkToReturn), c("SocialMediaLab")) :
attempt to set an attribute on NULL

Another user has reported similar problem.

This is using SocialMediaLab_0.23.0 and Rfacebook_0.6.11 (both current versions).

There may have been change in Facebook API?

timothyjgraham added a commit that referenced this issue May 27, 2017
@vosonlab
Copy link
Collaborator Author

This was just tested with SocialMediaLab_0.23.0 (CRAN version) and latest CRAN version of Rfacebook (0.6.15 - published 2017-05-25) and it now works. So it seems that there might have been a change to Facebook API regarding authentication which broke Rfacebook and it has been fixed in the latest version.

@timothyjgraham timothyjgraham self-assigned this May 27, 2017
@timothyjgraham
Copy link
Contributor

I am closing this issue as it appears to be solved.

@MVATFM
Copy link

MVATFM commented Sep 7, 2018

Sorry but I have the same issue and It doesnt work for me, even with this version. How can I solve it?

@rjackland
Copy link
Collaborator

Please see #29 - unfortunately, changes to the Facebook API mean that we can't collect data from FB fan pages any more.

Also please note that SocialMediaLab has been renamed vosonSML (which is now on CRAN) and so SocialMediaLab will no longer be developed.

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

3 participants