From 94cd95d611739c8e78fdb58969c767e95d6ae29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Har=C4=99=C5=BClak?= Date: Sat, 29 Sep 2018 20:17:37 +0200 Subject: [PATCH] Update readme --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 79315868..cbecc465 100644 --- a/README.md +++ b/README.md @@ -66,21 +66,21 @@ T.get('account/verify_credentials', { skip_status: true }) // // retweet a tweet with id '343360866131001345' // -T.post('statuses/retweet/:id', { id: '343360866131001345' }, function (err, data, response) { +T.post('statuses/retweet', { id: '343360866131001345' }, function (err, data, response) { console.log(data) }) -// -// destroy a tweet with id '343360866131001345' -// -T.post('statuses/destroy/:id', { id: '343360866131001345' }, function (err, data, response) { - console.log(data) +/// +/// like a tweet with id '343360866131001345' +/// +T.post('favorites/create', { id: '343360866131001345' }, function (err, data, response) { + console.log(data); }) // -// get `funny` twitter users +// destroy a tweet with id '343360866131001345' // -T.get('users/suggestions/:slug', { slug: 'funny' }, function (err, data, response) { +T.post('statuses/destroy', { id: '343360866131001345' }, function (err, data, response) { console.log(data) })