From: Felipe Magno de Almeida Date: Fri, 26 Jul 2019 12:59:17 +0000 (+0200) Subject: efl-js: Remove private keys for Twitter API from example X-Git-Tag: submit/tizen/20190805.083058~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0846c59e4089b5d1d0d4a1231b364fefe4f2d322;p=platform%2Fupstream%2Fefl.git 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 --- 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");