<commit_before>var express = require('express');
var router = express.Router();
var Twit = require('twit');
var config = require('../config');

var twitter = new Twit(config.twitter);

var TWEET_COUNT = 10;
var MAX_WIDTH = 305;
var OEMBED_URL = 'statuses/oembed';

router.get('/', function(req, res) {

	var oEmbedTweets = [], tweets = [],

	params = {
		q : 'periscope.tv',
		result_type : 'recent',
		count : TWEET_COUNT
	};

	twitter.get('search/tweets', params, function(err, data, resp) {

		if (data) {
			tweets = data.statuses;
		}

		var i = 0, len = tweets.length;

		for (i; i < len; i++) {
			getOEmbed(tweets[i]);
		}

	});

	function getOEmbed(tweet) {

		var params = {
			"id" : tweet.id_str,
			"maxwidth" : MAX_WIDTH,
			"hide_thread" : true,<commit_msg>no message<commit_after>var express = require('express');
var router = express.Router();
var Twit = require('twit');
var config = require('../config');

var twitter = new Twit(config.twitter);

var TWEET_COUNT = 10;
var MAX_WIDTH = 305;
var OEMBED_URL = 'statuses/oembed';

router.get('/', function(req, res) {

	var oEmbedTweets = [], tweets = [],

	params = {
		q : "periscope.tv",
		result_type : "recent",
		count : TWEET_COUNT
	};

	twitter.get('search/tweets', params, function(err, data, resp) {

		if (data) {
			tweets = data.statuses;
		}

		var i = 0, len = tweets.length;

		for (i; i < len; i++) {
			getOEmbed(tweets[i]);
		}

	});

	function getOEmbed(tweet) {

		var params = {
			"id" : tweet.id_str,
			"maxwidth" : MAX_WIDTH,
			"hide_thread" : true,
{'fraction_non_alphanumeric': 0.17391304347826086, 'fraction_numerical': 0.007787151200519144, 'mean_word_length': 3.5892857142857144, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3577586', 'n_tokens_mistral': 670, 'n_tokens_neox': 585, 'n_words': 136}