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
@@ -48,7 +48,7 @@ The service provider gets loaded automatically.
48
48
49
49
### Setting up the Twitter service
50
50
51
-
You will need to [create](https://developer.twitter.com/apps/) a Twitter app to use this channel. Within in this app, you will find the `keys and access tokens`. Place them inside your `.env` file. To load them, add this to your `config/services.php` file:
51
+
You will need to [create](https://developer.twitter.com/apps/) a Twitter app to use this channel. Within this app, you will find the `keys and access tokens`. Place them inside your `.env` file. To load them, add this to your `config/services.php` file:
52
52
53
53
```php
54
54
...
@@ -67,7 +67,7 @@ This will load the Twitter app data from the `.env` file. Make sure to use the s
67
67
68
68
To use this package, you need to create a notification class, like `NewsWasPublished` from the example below, in your Laravel application. Make sure to check out [Laravel's documentation](https://laravel.com/docs/master/notifications) for this process.
69
69
70
-
### Publish Twitter status update
70
+
### Publish a Twitter status update
71
71
72
72
```php
73
73
<?php
@@ -138,23 +138,23 @@ public function toTwitter($notifiable)
138
138
139
139
## Handle multiple Twitter Accounts
140
140
141
-
There might be cases where you need handle multiple Twitter accounts. This means you need to be able to change the provided keys and tokens of your Twitter app. Luckily, [Laravel](https://laravel.com/docs/master/notifications#customizing-the-recipient) can help you here. In your notifiable model, you can define the `routeNotifiactionForTwitter` method. Here you can override the provided settings.
141
+
There might be cases where you need to handle multiple Twitter accounts. This means you need to be able to change the provided keys and tokens of your Twitter app. Luckily, [Laravel](https://laravel.com/docs/master/notifications#customizing-the-recipient) can help you here. In your notifiable model, you can define the `routeNotifiactionForTwitter` method. Here you can override the provided settings.
142
142
143
143
````php
144
144
public function routeNotificationForTwitter($notification)
145
145
{
146
-
return [
147
-
'TWITTER_CONSUMER_KEY',
148
-
'TWITTER_CONSUMER_SECRET',
149
-
'TWITTER_ACCESS_TOKEN',
150
-
'TWITTER_ACCESS_SECRET',
151
-
];
146
+
return [
147
+
'TWITTER_CONSUMER_KEY',
148
+
'TWITTER_CONSUMER_SECRET',
149
+
'TWITTER_ACCESS_TOKEN',
150
+
'TWITTER_ACCESS_SECRET',
151
+
];
152
152
}
153
153
````
154
154
155
155
## Changelog
156
156
157
-
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
157
+
Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed recently.
0 commit comments