<commit_before>'use strict';

const apiai = require('apiai');
const express = require('express');
const bodyParser = require('body-parser');
const uuid = require('uuid');
const request = require('request');
const JSONbig = require('json-bigint');
const async = require('async');

const REST_PORT = (process.env.PORT || 5000);
const APIAI_ACCESS_TOKEN = process.env.APIAI_ACCESS_TOKEN;
const APIAI_LANG = process.env.APIAI_LANG || 'en';
const FB_VERIFY_TOKEN = process.env.FB_VERIFY_TOKEN;
const FB_PAGE_ACCESS_TOKEN = process.env.FB_PAGE_ACCESS_TOKEN;
const FB_TEXT_LIMIT = 640;

const FACEBOOK_LOCATION = "FACEBOOK_LOCATION";
const FACEBOOK_WELCOME = "FACEBOOK_WELCOME";
var firebase = require('firebase');
var http = require('http');

var respuesta ="";
var idusr ="";  

var config = {
    apiKey: "<KEY>",
    authDomain: "turnosmovil-a576d.firebaseapp.com",
    databaseURL: "https://turnosmovil-a576d.firebaseio.com",
    projectId: "turnosmovil-a576d",
    storageBucket: "turnosmovil-a576d.appspot.com",
    messagingSenderId: "706329874359"
  };


function enviarTodos(){
	var options = {
  host: 'https://graph.facebook.com',
  //port: 80,
  path: '/v2.6/me/messages?access_token=<KEY>',
  method: 'POST'
};

var req = http.request(options, function(res) {
  console.log('STATUS: ' + res.statusCode);
  console.log('HEADERS: ' + JSON.stringify(res.headers));<commit_msg>port 80 to 5000<commit_after>'use strict';

const apiai = require('apiai');
const express = require('express');
const bodyParser = require('body-parser');
const uuid = require('uuid');
const request = require('request');
const JSONbig = require('json-bigint');
const async = require('async');

const REST_PORT = (process.env.PORT || 5000);
const APIAI_ACCESS_TOKEN = process.env.APIAI_ACCESS_TOKEN;
const APIAI_LANG = process.env.APIAI_LANG || 'en';
const FB_VERIFY_TOKEN = process.env.FB_VERIFY_TOKEN;
const FB_PAGE_ACCESS_TOKEN = process.env.FB_PAGE_ACCESS_TOKEN;
const FB_TEXT_LIMIT = 640;

const FACEBOOK_LOCATION = "FACEBOOK_LOCATION";
const FACEBOOK_WELCOME = "FACEBOOK_WELCOME";
var firebase = require('firebase');
var http = require('http');

var respuesta ="";
var idusr ="";  

var config = {
    apiKey: "<KEY>",
    authDomain: "turnosmovil-a576d.firebaseapp.com",
    databaseURL: "https://turnosmovil-a576d.firebaseio.com",
    projectId: "turnosmovil-a576d",
    storageBucket: "turnosmovil-a576d.appspot.com",
    messagingSenderId: "706329874359"
  };


function enviarTodos(){
	var options = {
  host: 'https://graph.<EMAIL>',
  port: 5000,
  path: '/v2.6/me/messages?access_token=<KEY>',
  method: 'POST'
};

var req = http.request(options, function(res) {
  console.log('STATUS: ' + res.statusCode);
  console.log('HEADERS: ' + JSON.stringify(res.headers));
{'fraction_non_alphanumeric': 0.15415306492564382, 'fraction_numerical': 0.028291621327529923, 'mean_word_length': 5.428904428904429, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '42205', 'n_tokens_mistral': 1042, 'n_tokens_neox': 1000, 'n_words': 188}