This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Hoje não deixaremos mais ninguém no vácuo no whatsapp | |
| Para utilizar: | |
| - Abra o web.whatsapp.com; | |
| - Abra o console e cole o código que está no gist; | |
| - Aguarde e verá uma mensagem sendo enviada a cada momento que alguém te enviar alguma mensagem. | |
| Confira também como ser chato no whatsapp: https://gist.github.com/mathloureiro/4c74d60f051ed59650cc76d1da0d32da |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var secret = require('./secret.js'); | |
| var rest = require('restler'); | |
| var crypto = require('crypto'); | |
| var querystring = require('querystring'); | |
| var fatSecretRestUrl = 'http://platform.fatsecret.com/rest/server.api'; | |
| var apiKey = process.env.FATKEY ||secret.fatKey; | |
| var sharedSecret = process.env.FATSECRET ||secret.fatSecret; | |
| var querySecret = sharedSecret + '&'; |
Visit my blog or connect with me on Twitter
git init
or