You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
13
13
This package makes it easy to send Laravel notifications using [Twitter](https://dev.twitter.com/rest/public). (Laravel 8+)
14
14
15
-
PS: v.7.0.0 only supports Laravel 10 and PHP 8.1. If you have an older Laravel application or PHP version, you can use an older version of this package. Be aware that these are no longer maintained.
15
+
PS: v8 now uses the new Twitter API V2. Please read the upgrade guide for your app [here](https://developer.twitter.com/en/docs/twitter-api/migrate/overview).
16
16
17
17
## Contents
18
18
@@ -160,7 +160,7 @@ public function toTwitter(mixed $notifiable): TwitterMessage
160
160
}
161
161
````
162
162
> Note that the reply status ID will be ignored if you omit the author of the original tweet, according to Twitter docs.
163
-
### Send a direct message
163
+
### Send a direct message (NOT working with the FREE Twitter API plan!)
164
164
To send a Twitter direct message to a specific user, you will need the `TwitterDirectMessage` class. Provide the Twitter user handler as the first parameter and the message as the second one.
165
165
````php
166
166
public function toTwitter(mixed $notifiable): TwitterMessage
0 commit comments