Coder Social home page Coder Social logo

facebook-event-tracker's People

Contributors

armitage35 avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lgtm-migrator

facebook-event-tracker's Issues

Ensure the app is properly initialized

Expected behaviour

Ensure we have a nice behaviour to welcome the user when he arrives the first time the app is launched.

Steps

  • Create an empty pages file
  • Display a nice message when this arrives
  • Disable the crawling feature if there is not at least one page to be crawled

Properly format the urls

Current behaviour

If the user input the page's URL without the /event the parsing won't work

Expected behaviour

add the /event to the page's url if that's not done alerady

display every dates for this event. Not just the first one

// todo: display every dates for this event. Not just the first one
const eventDates = await page.evaluate(
() => [...document.querySelectorAll('._5x8v')].map(elem => elem.innerText.replace(/\n/g, ''))
);
const eventLink = await page.evaluate(


This issue was generated by todo based on a todo comment in a2cb892. It's been assigned to @Armitage35 because they committed the code.

Check that the user inputs is actually a fb page!

Current behaviour

The user can add anything and we won't know why shit hits the fan until we go and parse it, which is sad.

Expected behaviour

When the user inputs a page, check that it's actually a page.

Strategy

  • Review regex to only check against Facebook pages
  • Quickly check the page online to verify it is in fact a page

As a developer, I need to write a POC to make sure I can actually pull data from a FB page using Puppeteer

Current behaviour

We believe we should be able to pull out a page's event using Puppeteer but we have not proven it.

Expected behaviour

The assignee will parse a page to pull a page's event. We want to show we can pull:

  • An event name
  • An event date
  • An event except
  • An event's location

Annexes

Documentation

Documentation available here: https://github.com/Armitage35/facebook-event-tracker/wiki/Facebook-events-page-architecture

Modularize code

Current behaviour

Code is monolithic and huge

Expected behaviour

Split the code into multiple files

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.