efl-js: Remove private keys for Twitter API from example
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Fri, 26 Jul 2019 12:59:17 +0000 (14:59 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 01:48:26 +0000 (10:48 +0900)
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

index d0f5f71..04edbdd 100644 (file)
@@ -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");