favorites/destroyを叩くやつ

This commit is contained in:
keita
2021-02-18 16:46:15 +09:00
parent 055ee555b1
commit 10eb11f3f5
5 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,6 @@ auto main() -> int {
// accessToken,
// accessTokenSecret);
// also can generate Key object from JSON file
// CocoaTweet::OAuth::Key key = CocoaTweet::OAuth::Key::fromJsonFile("api_key.json");
@@ -22,4 +21,5 @@ auto main() -> int {
// Now, you can use a twitter api
// api.status().Update("Hello Twitter World from Cocoa Twitter Library");
// api.favorite().Create("tweet id you want to fav.");
// api.favorite().Destroy("tweet id you want to un_fav.");
}