READMEとかmain.cのサンプルとか変更

This commit is contained in:
keita
2021-02-18 16:28:25 +09:00
parent 5e2a5d1712
commit 055ee555b1
2 changed files with 24 additions and 16 deletions
+7 -3
View File
@@ -6,9 +6,10 @@ This is a library for using Twitter API from C++
- libssl
# Features
you can use these endpoint
- statuses/update
- favorites/create
Now, only post a tweet.
# How
## API Key Registration
@@ -56,8 +57,11 @@ CocoaTweet::API::API api(key);
```
## Post Tweet
post tweet
## Use API
```
// Post a tweet
api.status().Update("Hello, World!!\nTweet from Cocoa Twitter Library");
// Fav. to tweet
api.favorite().Create("tweet id");
```