Last active
November 22, 2020 07:02
-
-
Save tajuszk/ef6edb46dad119647a5e386e97c1fab5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main () { | |
// 本来投稿文を取得する機能を応用する | |
const tweetURL = TwitterClient.pickUpTweetInOrder() | |
// URLからTweetIdを取得する | |
const tweetId = TwitterClient.convertFromUrlToTweetId(tweetURL) | |
// RTを行う | |
client.retweet([tweetId]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment