This project helps you to publish posts to Twitter
This is a simple PHP client for posting tweets using the Twitter API. It provides a convenient way to interact with the Twitter API and post tweets programmatically.
- PHP 7.0 or later
- cURL extension for PHP
-
Clone the repository to your local machine: git clone https://github.com/hermanbenedict/Post-to-Twitter.git
-
Set up your Twitter API credentials:
Replace the placeholders in the main.php file with your actual Twitter API credentials:
// Set up your Twitter API credentials
$consumerKey = 'Your consumer key';
$consumerSecret = 'Your consumer secret key';
$accessToken = 'Your Access token';
$accessTokenSecret = 'Your access token secret';
### Contributing
If you find any issues with the code or would like to suggest improvements, please open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
You can contact the author on Telegram @malinzema