Download the PHP package utxo-one/twitter-ultimate-php without Composer
On this page you can find all versions of the php package utxo-one/twitter-ultimate-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download utxo-one/twitter-ultimate-php
More information about utxo-one/twitter-ultimate-php
Files in utxo-one/twitter-ultimate-php
Package twitter-ultimate-php
Short Description The Ultimate PHP Wrapper for the Twitter v2 API
License MIT
Informations about the package twitter-ultimate-php
Twitter Ultimate PHP
A complete and opinionated API Wrapper implementation for the Twitter v2 API. Full docblocks for all methods and strict return types make it easy for developers by providing all the method names and parameters to your IDE.
Prerequisites
- => PHP 8.1
- Composer
- Twitter Developer Account
Installation
Usage
Tweet Client
The tweet client can be initialized either to get public information, or to perform authenticated actions.
Public API Calls
You only need to provide your bearerToken
to initialize a tweet client that accesses public information.
Authenticated API Calls
To make an authenticated API call, you need to provide your apiToken
, apiSecret
, accessToken
, accessSecret
.
Access tokens are generated after the user authenticates your app.
Available Tweet Client Methods:
getTweet()
getTweets()
getQuoteTweets()
getLikingUsers()
getRetweetedByUsers()
tweet()
deleteTweet()
likeTweet()
unlikeTweet()
retweet()
unrtweet()
bookmarkTweet()
unbookmarkTweet()
Get Tweet Details
Get Multiple Tweet Details
User Management Methods
Getting a User's Details
Getting a User's Liked Tweets
Follow a User
Available Methods
getUserByUsername()
getUserById()
getLikedTweets()
getFollowers()
getFollowing()
follow()
unfollow()
getBlocks()
block()
unblock()
mute()
unmute()
List Management Methods
Getting a List's Details
Create a List
Available Methods
getList()
getUserOwnedLists()
getListTweets()
getListMembers()
getUserMemberships()
getListFollowers()
getUserFollowedLists()
getUserPinnedLists()
createList()
updateList()
deleteList()
addListMember()
removeListMember()
followList()
unfollowList()
pinList()
-
unpinList()
Space Management Methods