Web scraping on R

I'm dabbling and trying to learn web scraping with R.
For example, I wanted to try to check the list of friends on my own Facebook account, how can I do it?

You could start with reading web-scraping-with-r.
I have no connection with the (owners of the) website,
but the page mentions some relevant things/examples.
If you want to target Facebook specifically, then do an internet search for that.

I'd check out this NON CRAN package.

Or this CRAN package;

These leverage the Facebook API, so no need to get in to scraping (which will get you in to trouble on Facebook!)

1 Like

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.