PHP Classes

PHP Twitter API Post Tweet: Post tweet messages using Twitter API 2

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-09-21 (2 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 43 This week: 6All time: 10,649 This week: 15Up
Version License PHP version Categories
post-to-twitter 1.0.3Custom (specified...5PHP 5, Web services, Social Networking
Collaborate with this project 

Author

Post-to-Twitter - github.com

Description

This package can post tweet messages using Twitter API 2.

It can access version 2 of Twitter API to perform operations allowed by this API for the Twitter user to use a given OAuth token and token secret.

Currently, it can post a Twitter message on behalf of the authorized user.

Picture of helman benedict mwageni
Name: helman benedict mwageni <contact>
Classes: 1 package by
Country: Tanzania Tanzania

Details

Post-to-Twitter

This project helps you to publish posts to Twitter

Twitter API PHP Client

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.

Getting Started

Prerequisites

  • PHP 7.0 or later
  • cURL extension for PHP

Installation

  1. Clone the repository to your local machine: git clone https://github.com/hermanbenedict/Post-to-Twitter.git
  2. 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, Helman Mwageni, on Telegram @malinzema or WhatsApp +255759891571.

try out our Telegram AI bot here https://t.me/WaGPTBot
  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file main.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation
Plain text file TwitterAPI.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:43
This week:6
All time:10,649
This week:15Up