Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Possibility to scrape Visitor Posts? #84

Open
Katha17 opened this issue Oct 16, 2017 · 2 comments
Open

Possibility to scrape Visitor Posts? #84

Katha17 opened this issue Oct 16, 2017 · 2 comments

Comments

@Katha17
Copy link

Katha17 commented Oct 16, 2017

Hi,

I noticed, that when trying to get all posts from a company's Facebook Page, the page_post scraper only returns the posts made by the company itself. However, I would also like to download the posts and comments made by visitors to the page.

Does someone know how I can scrape these posts & comments as well?

@vivek-quantiful
Copy link

you can just change the node in the posts code from

node = "/{}/posts".format(page_id)
to
node = "/{}/visitor_posts".format(page_id)

@eholderness95
Copy link

Vivek's answer will work, as will changing node = "/{}/posts".format(page_id) to node = "/{}/feed".format(page_id)

/feed returns everything on the page's feed, both posts made by visitors and by the page itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants