Closed vosonlab closed 7 years ago
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.
I am closing this issue as it appears to be solved.
Sorry but I have the same issue and It doesnt work for me, even with this version. How can I solve it?
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?