<commit_before>var superagent = require('superagent');
var jsonp= require('jsonp');

var twitterMethod = "http://flickr.people.getPublicPhotos"
var twitterMethod = "https://api.flickr.com/services/rest"

var twitterConfig = {
    format: 'json',
    api_key : 'd23e3c81ed9f44cac507a5cbd80ea12c',
    user_id: '<PASSWORD>',
    per_page : 30,
    page: 2,
    min_taken_date : "2005-01-01 00:00:00",
    jsoncallback: 'JSON_CALLBACK'
    //extras : 'date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o',
}

FlickerApi = {
    getFlickr:function(){
        console.log("Get Flickr Called..");
        var data = jsonp(twitterMethod, twitterConfig, function(req, error){
            if (req) console.log("REQ ", req);
            if (error) console.log("ERROR ",error);
        });
    }
}

module.exports = FlickerApi;<commit_msg>Flick API changes - may overide with Github changes.<commit_after>var superagent = require('superagent');
var jsonp= require('jsonp');

var twitterMethod = "http://flickr.people.getPublicPhotos"
var twitterMethod = "https://api.flickr.com/services/rest"

var twitterConfig = {
    format: 'json',
    api_key : 'd23e3c81ed9f44cac507a5cbd80ea12c',
    user_id: '123487996@N08',
    per_page : 30,
    page: 2,
    min_taken_date : "2005-01-01 00:00:00",
    jsoncallback: 'JSON_CALLBACK'
    //extras : 'date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o',
}

FlickerApi = {
    getFlickr:function(){
        console.log("Get Flickr Called..");
        var data = jsonp(twitterMethod, twitterConfig, function(req, error){
            if (req) console.log("REQ ", req);
            if (error) console.log("ERROR ",error);
        });
    }
}
git pull origin
module.exports = FlickerApi;
{'fraction_non_alphanumeric': 0.13961519486926494, 'fraction_numerical': 0.03798717316230883, 'mean_word_length': 3.840095465393795, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '6481487', 'n_tokens_mistral': 790, 'n_tokens_neox': 720, 'n_words': 157}