READMEの更新
This commit is contained in:
@@ -8,6 +8,7 @@ This is a library for using Twitter API from C++
|
|||||||
# Features
|
# Features
|
||||||
you can use these endpoint
|
you can use these endpoint
|
||||||
- statuses/update
|
- statuses/update
|
||||||
|
- statuses/destroy/:id
|
||||||
- favorites/create
|
- favorites/create
|
||||||
- favorites/destroy
|
- favorites/destroy
|
||||||
|
|
||||||
@@ -62,9 +63,12 @@ CocoaTweet::API::API api(key);
|
|||||||
// Post a tweet
|
// Post a tweet
|
||||||
api.status().Update("Hello, World!!\nTweet from Cocoa Twitter Library");
|
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");
|
api.favorite().Create("tweet id");
|
||||||
|
|
||||||
// un Fav. to tweet
|
// un Fav. a tweet
|
||||||
api.favorite().Destroy("tweet id");
|
api.favorite().Destroy("tweet id");
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user