1.0.0 • Published 11 months ago
twitter-api-daemz v1.0.0
how to use
const twitterApi = require('twitter-api-daem');
const consumerKey = 'YOUR_CONSUMER_KEY'; const consumerSecret = 'YOUR_CONSUMER_SECRET'; const tweetText = 'Hello, world!';
twitterApi.tweet(consumerKey, consumerSecret, tweetText) .then((response) => { console.log('Tweet sent:', response); }) .catch((error) => { console.error('Failed to send tweet:', error); });
1.0.0
11 months ago