From 106da593c584c9590560f2fbaddf944485ef28e7 Mon Sep 17 00:00:00 2001 From: keita Date: Thu, 18 Feb 2021 18:41:02 +0900 Subject: [PATCH] =?UTF-8?q?README=E3=81=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4cb3fe9..c7dc836 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ This is a library for using Twitter API from C++ # Features you can use these endpoint - statuses/update +- statuses/destroy/:id - favorites/create - favorites/destroy @@ -62,9 +63,12 @@ CocoaTweet::API::API api(key); // Post a tweet api.status().Update("Hello, World!!\nTweet from Cocoa Twitter Library"); -// Fav. to tweet +// Delete a tweet +api.status().Destroy("tweet id"); + +// Fav. a tweet api.favorite().Create("tweet id"); -// un Fav. to tweet +// un Fav. a tweet api.favorite().Destroy("tweet id"); ```