From 0846c59e4089b5d1d0d4a1231b364fefe4f2d322 Mon Sep 17 00:00:00 2001 From: Felipe Magno de Almeida Date: Fri, 26 Jul 2019 14:59:17 +0200 Subject: [PATCH] efl-js: Remove private keys for Twitter API from example Summary: For security concerns we removed the secret keys which could be used improperly by the wrong people. Reviewers: woohyun, cedric, lauromoura Reviewed By: lauromoura Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9377 --- src/examples/elementary/twitter_example_01.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/examples/elementary/twitter_example_01.js b/src/examples/elementary/twitter_example_01.js index d0f5f71..04edbdd 100644 --- a/src/examples/elementary/twitter_example_01.js +++ b/src/examples/elementary/twitter_example_01.js @@ -13,10 +13,10 @@ Twitter = require('twitter'); user_acount = 'EnlightenmentKo' var twit = new Twitter({ - consumer_key: 'ZbSM93w5Sp2cyZ2SG0XuCvoHV', - consumer_secret: 'g8N7EEQLpdKPnAsS9hWuQV29FYjBkhH62jhZzXyYymDw87DKye', - access_token_key: '222611263-pPhKKjYh59uuNLP0b86sP7aAtLhdecjVQaEsCDCv', - access_token_secret: 'l7ccNKXTVv6cymfSD1gQH61tmfixkdna2QmOjPtpVxSHD' + consumer_key: '', // replace with consumer_key + consumer_secret: '', // replace with consumer_secret + access_token_key: '', // replace with access_token_key + access_token_secret: '' // replace with access_token_secret }); win = new efl.Efl.Ui.Win(null, "Efl JS Example", efl.Efl.Ui.Win.Type.BASIC, "hw"); -- 2.7.4