Okay, guys.
So in the previous section, I said that I couldn't find a way to scrape Facebook or mobile Facebook
page without having JavaScript enabled, which means that we had to use something like puppeteer a JavaScript
enabled browser to scrape Facebook at least also the mobile version.
However, I was in contact with the author on this article and he told me to try it out on Firefox.
And oddly enough, if you try to go on mobile dot Facebook.com on Firefox, there's no JavaScript.
So I don't know why.
Of course they have some kind of reason.
Maybe Firefox is a different JavaScript engine.
I don't know, but this page is only pure HTML, CSS.
There's no JavaScript at all.
So see we go down to the bottom.
It's not going to auto load the page because there's no JavaScript that can do it.
You have to manually press here to see more post and that's really great because that means there's
way less chance of Facebook detecting that you're scraping the page and you can use something really
basic, such as request to get the data on the page and scrape it.
And of course it has its disadvantages.
Maybe also it might be a little more complex to use requests compared to puppeteer, but let's try and
see how we can scrape data on Facebook using request now.