1- # Twitter for PHP
1+ # X (formerly Twitter) for PHP
22
33[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE.md )
44[ ![ StyleCI] ( https://styleci.io/repos/11009743/shield )] ( https://styleci.io/repos/11009743 )
@@ -62,7 +62,7 @@ use the `response_format` option in the parameters you pass to any method.
6262response_format : object|json|array (v1 default:object) (v2 default:json)
6363```
6464
65- ## Twitter API Versions
65+ ## X (formerly Twitter) API Versions
6666
6767To set the default twitter API version to v2 instead of the default ` v1.1 ` , set the ` TWITTER_API_VERSION ` to ` 2 ` in
6868your ` .env ` .
@@ -74,7 +74,7 @@ It is safe to call `Twitter::forApiV1()` on either a `v1` or `v2` client instanc
7474
7575## Functions
7676
77- ### Twitter API v1.1
77+ ### X (formerly Twitter) API v1.1
7878
7979#### Account
8080
@@ -174,14 +174,14 @@ It is safe to call `Twitter::forApiV1()` on either a `v1` or `v2` client instanc
174174
175175#### Help
176176
177- * ` postSpam() ` - Report the specified user as a spam account to Twitter. Additionally performs the equivalent of POST
177+ * ` postSpam() ` - Report the specified user as a spam account to X (formerly Twitter) . Additionally performs the equivalent of POST
178178 blocks / create on behalf of the authenticated user.
179- * ` getHelpConfiguration() ` - Returns the current configuration used by Twitter including twitter .com slugs which are not
179+ * ` getHelpConfiguration() ` - Returns the current configuration used by X (formerly Twitter) including x .com slugs which are not
180180 usernames, maximum photo resolutions, and t.co URL lengths.
181- * ` getHelpLanguages() ` - Returns the list of languages supported by Twitter along with the language code supported by
182- Twitter.
181+ * ` getHelpLanguages() ` - Returns the list of languages supported by X (formerly Twitter) along with the language code supported by X
182+ (formerly Twitter) .
183183* ` getHelpPrivacy() ` - Returns Twitter’s Privacy Policy.
184- * ` getHelpTos() ` - Returns the Twitter Terms of Service. Note: these are not the same as the Developer Policy.
184+ * ` getHelpTos() ` - Returns the X (formerly Twitter) Terms of Service. Note: these are not the same as the Developer Policy.
185185* ` getAppRateLimit() ` - Returns the current rate limits for methods belonging to the specified resource families.
186186
187187#### List
@@ -255,7 +255,7 @@ It is safe to call `Twitter::forApiV1()` on either a `v1` or `v2` client instanc
255255* ` postTweet() ` - Updates the authenticating user’s current status, also known as tweeting.
256256* ` postRt() ` - Retweets a tweet. Returns the original tweet with retweet details embedded.
257257* ` getOembed() ` - Returns a single Tweet, specified by either a Tweet web URL or the Tweet ID, in an oEmbed-compatible
258- format. The returned HTML snippet will be automatically recognized as an Embedded Tweet when Twitter’s widget
258+ format. The returned HTML snippet will be automatically recognized as an Embedded Tweet when X (formerly Twitter’s) widget
259259 JavaScript is included on the page.
260260* ` getRters() ` - Returns a collection of up to 100 user IDs belonging to users who have retweeted the tweet specified by
261261 the id parameter.
@@ -266,8 +266,8 @@ It is safe to call `Twitter::forApiV1()` on either a `v1` or `v2` client instanc
266266
267267* ` getTrendsPlace() ` - Returns the top 10 trending topics for a specific WOEID, if trending information is available for
268268 it.
269- * ` getTrendsAvailable() ` - Returns the locations that Twitter has trending topic information for.
270- * ` getTrendsClosest() ` - Returns the locations that Twitter has trending topic information for, closest to a specified
269+ * ` getTrendsAvailable() ` - Returns the locations that X (formerly Twitter) has trending topic information for.
270+ * ` getTrendsClosest() ` - Returns the locations that X (formerly Twitter) has trending topic information for, closest to a specified
271271 location.
272272
273273#### User
@@ -292,7 +292,7 @@ It is safe to call `Twitter::forApiV1()` on either a `v1` or `v2` client instanc
292292* ` getSuggestedsMembers() ` - Access the users in a given category of the Twitter suggested user list and return their
293293 most recent status if they are not a protected user.
294294
295- ### Twitter API v2
295+ ### X (formerly Twitter) API v2
296296
297297#### Tweet Lookup
298298
0 commit comments