manage README

This commit is contained in:
keita
2021-04-01 21:56:11 +09:00
parent ea68ad22c1
commit 1e31c756ce
+5
View File
@@ -17,6 +17,7 @@ you can use these endpoint
- favorites/create - favorites/create
- favorites/destroy - favorites/destroy
- media/upload(support: jpg, jpeg, png, gif, mp4) - media/upload(support: jpg, jpeg, png, gif, mp4)
- direct_messages/events/new (message_create)
# Dependency # Dependency
- libcurl(openssl version) - libcurl(openssl version)
@@ -142,6 +143,10 @@ api.favorite().Destroy("tweet id");
// get a timeline with screen name // get a timeline with screen name
auto timeline = api.status().UserTimeline("milkcocoa0902"); auto timeline = api.status().UserTimeline("milkcocoa0902");
// send a direct message
// you cau get recipient_id using https://idtwi.com/
api.directMessage().messageCreate("<recipient_id>", "Sent message using Cocoa Twitter Library");
``` ```
# More Information # More Information