pablobarbera / Rfacebook

Dev version of Rfacebook package: Access to Facebook API via R
http://cran.r-project.org/web/packages/Rfacebook
350 stars 250 forks source link

is this package working with new FB policies? #189

Open vivek14632 opened 5 years ago

vivek14632 commented 5 years ago

is this package working with new FB policies?

vivek14632 commented 5 years ago

I have used this package before, however, with new changes in FB policies, the package has stopped working, please help if you have any solutions.

rodo15 commented 5 years ago

any news ? i have the same problem

thetoubi commented 5 years ago

If I remember correctly, the package does not work anymore because Facebook shut the API.

nicvel commented 5 years ago

My understanding is that the package is no longer actively maintained. That said, a good deal of its functions are still working. I use it in two weekly scripts to capture fan page posts and comments. Facebook did shut down API access for some time around April 2018, but it restored access a few months later. Now you have to get your "app" approved in order to access the API, a process that took 4 months for me. A lot of API endpoints have been deprecated, so do not expect tutorials for Rfacebook from the early 2010's to fully work today. Finally, Rfacebook makes calls through FB's API 3.2, but the most current version is API 4.0. It is possible that in the near future FB will sunset API 3.2.

BenLBurke commented 5 years ago

Nicvel, any tips for getting your app approved? Ive been denied 3 times and am not sure what I'm doing incorrectly as their reason simply says "please show us how a user will login". My app is actually just a private app and will only be used by me. I've shown them my rcode and ran it in a screen cast. Not sure what else to provide them...

nicvel commented 4 years ago

Sorry mate, but what you describe you did is similar to what I did, minus showing the code. Perhaps what you are explaining to them is nowadays against their rules? Also, did you provide them with a webpage describing the privacy policy for your app?

BenLBurke commented 4 years ago

That's what I was afraid of. I don't have a website since I was just doing it for ad hoc use, and not creating a user app. What's the best way to get a privacy policy displayed?

nicolasv-lv commented 4 years ago

That's what I was afraid of. I don't have a website since I was just doing it for ad hoc use, and not creating a user app. What's the best way to get a privacy policy displayed?

You do need to set up a web page with the privacy policy. My guess is that depending on what you write into the application, a free web-hosted page might do it (i.e. a free blog, or even a free sites.google.com).

Chenghsiu commented 4 years ago

"Invalid Scopes: user_friends. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions"

I encounter such error when using this package. Does someone can help me ? THANKS !!

natxosorolla commented 3 years ago

Following different "old" "manuals" of RFacebook don't work. I think is this API permission changes:

Error in callAPI(url = url, token = token, api = api) : (#100) Pages Public Content Access requires either app secret proof or an app token