Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suhailroushan13/x-dm-api
The X-DM-API provides developers with powerful tools to integrate direct messaging (DM) functionality into their applications. It enables seamless interaction with users on X by automating DMs, sending personalized messages, and managing conversations in real-time
https://github.com/suhailroushan13/x-dm-api
automation javascript selenium-webdriver twitter-api
Last synced: 9 days ago
JSON representation
The X-DM-API provides developers with powerful tools to integrate direct messaging (DM) functionality into their applications. It enables seamless interaction with users on X by automating DMs, sending personalized messages, and managing conversations in real-time
- Host: GitHub
- URL: https://github.com/suhailroushan13/x-dm-api
- Owner: suhailroushan13
- Created: 2024-10-28T12:06:21.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-11-01T09:02:39.000Z (4 months ago)
- Last Synced: 2025-02-13T02:47:40.059Z (9 days ago)
- Topics: automation, javascript, selenium-webdriver, twitter-api
- Language: JavaScript
- Homepage: https://github.com/suhailroushan13/X-DM-API
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# X-DM-API (Twitter 🐥)
## Overview
The **X-DM-API** provides developers with powerful tools to integrate direct messaging (DM) functionality into their applications. It allows seamless interaction with users on X (formerly Twitter) by automating DMs, sending personalized messages, and managing conversations in real-time.## Getting Started
Follow the instructions below to set up and start using the X-DM-API.
### Installation
1. **Clone the repository**
```bash
git clone [email protected]:suhailroushan13/X-DM-API.git
cd X-DM-API
```2. **Configuration**
Update the following section in your code to provide your username, password, and profile URLs where you want to send your personalized messages.
```javascript
// Example usage: Providing the parameters directly
const username = '0xsuhailroushan'; // Twitter Username
const password = 'TWITTER-PASSWORD'; // Twitter Passwordconst profileUrls = [
'https://x.com/0xsuhailroushan',
'https://x.com/csprojects_xyz'
]; // Profile URLs to send messages
```3. **Personalize Your Message**
Modify the message content in the following section to fit your needs:
```javascript
// SEND HERE YOUR CUSTOM MESSAGE
////////////////////////////////////////////////////////////
let personalizedMessage = `Hello ${name}! How are you today?`;
////////////////////////////////////////////////////////////
```4. **Install Dependencies**
```bash
npm install
```5. **Start the Application**
After completing the above steps, start the application by running:
```bash
npm start
```## Authors
- [@suhailroushan13](https://www.github.com/suhailroushan13)