Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scraper - Facebook review #112

Open
levogirar opened this issue Jan 16, 2021 · 2 comments
Open

Scraper - Facebook review #112

levogirar opened this issue Jan 16, 2021 · 2 comments
Assignees
Labels
good first issue Easier for newcomers new feature Creating something completely new
Milestone

Comments

@levogirar
Copy link
Collaborator

levogirar commented Jan 16, 2021

From the company's facebook review page:

  • Overall stars
  • Number of reviews
  • The three latest reviews with dates and text
  • facebook review url

Design
Screen Shot 2021-01-15 at 20 33 46

@levogirar levogirar added enhancement Improving on something that we already have good first issue Easier for newcomers labels Jan 16, 2021
@levogirar levogirar added this to To do in 🔎 Scraper via automation Jan 16, 2021
@Nils85 Nils85 added this to the Low priority milestone Jan 25, 2021
@levogirar levogirar added new feature Creating something completely new and removed enhancement Improving on something that we already have labels Jan 25, 2021
@levogirar levogirar self-assigned this Feb 12, 2021
@levogirar levogirar moved this from To do to In progress in 🔎 Scraper Feb 12, 2021
@levogirar levogirar removed their assignment Feb 22, 2021
@levogirar levogirar moved this from In progress to To do in 🔎 Scraper Apr 6, 2021
@levogirar levogirar added this to To do in Cycle 6: Data Apr 7, 2021
@levogirar levogirar modified the milestones: Low priority, Version 2.3 Apr 7, 2021
@levogirar
Copy link
Collaborator Author

Expected outcome:

link: facebook.com/company/reviews
ratingScore: 1 to 5
ratingCount: number of reviews
lastUpdated: day the rating was collected
reviews: latest three reviews (if possible)

@levogirar levogirar self-assigned this Apr 18, 2021
@levogirar
Copy link
Collaborator Author

It seems that I cannot see more than one review when I download the text using the file_get_contents My guess is that it loads the other reviews only when the user scrolls the page.

Try AgainCancelLoading...Loading...requireLazy(["HasteSupportData"],function(m){m.handle({"gkxData":{"996940":{"result":false,"hash":"AT7opYuEGy3sjG1acr8"},"708253":{"result":false,"hash":"AT5n4hBL3YTMnQWtcLw"},"1263340":{"result":false,"hash":"AT5bwizWgDaFQudmYkI"},"676920":

In this case, we can decide to only show the last (and only review available to us) or do not show any review and simply display the rating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Easier for newcomers new feature Creating something completely new
Projects
Cycle 6: Data
  
To do
Development

No branches or pull requests

2 participants