とりあえずコミット。認証とおらん(#47)(48)(#49)

This commit is contained in:
keita
2021-02-16 07:31:34 +09:00
parent 3a7976763a
commit 6fa7c457c0
16 changed files with 520 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <iostream>
#include "cocoatweet/api/status/status.h"
#include "cocoatweet/api/status/update.h"
namespace CocoaTweet::API::Statuses{
Status::Status(std::shared_ptr<CocoaTweet::OAuth::OAuth1> _oauth){
oauth_ = _oauth;
}
void Status::Update(const std::string& _status)const{
CocoaTweet::API::Statuses::Update update;
update.status(_status);
update.process(oauth_, [](std::string _rcv){std::cout << _rcv << std::endl;});
}
}