JavaScript extract 2 data from fanpage/JavaScript extraer 2 datos de fanpage

Job ID: 34604175

Budget: $10 – $25 USD

### ENGLISH ###

Hello, I require a script programmed in JavaScript that extracts two data from the publications of a fan Page. Example for tests:

https://www.facebook.com/MicrosoftLatam

The two data to extract are:

1. Publication date
2. Post Url

Conditions that the script must meet.

1. The url should only be extracted if the href attribute of the post url contains any of the words belonging to an array, for example:

var keywords = [posts, videos, photos];

2. The script must simulate a scroll to load more posts

3. There must be a variable that allows indicating how many ulrs the script must extract, for example.

var max_urls = 75;

4. The script must show the extracted data in the console in this format (the latter to be able to copy them once the task is finished):

"number" + "|" + "date" + "|" + "urls"

01 | date01 | url01
02 | date02 | url02
03 | date03 | url03
04 | date04 | url04
05 | date05 | url05
06 | date06 | url06
07 | date07 | url07
08 | date08 | url08
09 | date09 | url09
10 | date10 | url10
n | date | urln

5. The script must work for FB in Spanish language.

6. It can be considered as a Chrome extension if strictly necessary

### ESPAÑOL ###

Hola, requiero un script programado en JavaScript que extraiga dos datos de las publicaciones de una fan Page. Ejemplo para pruebas:

https://www.facebook.com/MicrosoftLatam

Los dos datos a extraer son:

1. Fecha de publicación
2. Url de publicación

Condiciones que debe cumplir el script.

1. La url solo se debe extraer si el atributo href de la url del post contiene alguna de de las palabras pertenecientes a un array por ejemplo:

var keywords = [posts, videos, photos];

2. El script debe simular un scroll para cargar más publicaciones

3. Debe existir una variable que permita indicar cuántas ulrs debe extraer el script, por ejemplo.

var max_urls = 75;

4. El script debe mostrar en la consola los datos extraídos en este formato (esto último para poder copiarlos una vez finalizada la tarea):

"number" + "|" + "date" + "|" + "url"

01 | date01 | url01
02 | date02 | url02
03 | date03 | url03
04 | date04 | url04
05 | date05 | url05
06 | date06 | url06
07 | date07 | url07
08 | date08 | url08
09 | date09 | url09
10 | date10 | url10
n | daten | urln

5. El script debe funcionar para FB en idioma español.

6. Se puede considerar que sea una extensión de Chrome en caso de ser estrictamente necesario
Related categories: JavaScript Google Chrome