Skip to content

Commit

Permalink
Merge pull request #34 from laravel-notification-channels/socialite
Browse files Browse the repository at this point in the history
Rename configuration options
  • Loading branch information
dwightwatson authored Oct 4, 2019
2 parents eb4c3d8 + 18fa61d commit 9fd22ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ You will need to [create](https://developers.facebook.com/apps) a Facebook app i
```php
...
'facebook_poster' => [
'app_id' => getenv('FACEBOOK_APP_ID'),
'app_secret' => getenv('FACEBOOK_APP_SECRET'),
'client_id' => getenv('FACEBOOK_APP_ID'),
'client_secret' => getenv('FACEBOOK_APP_SECRET'),
'access_token' => getenv('FACEBOOK_ACCESS_TOKEN'),
],
...
Expand Down
4 changes: 2 additions & 2 deletions src/FacebookPosterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public function register()
->needs(Facebook::class)
->give(function ($app) {
return new Facebook([
'app_id' => $app['config']['services.facebook_poster.app_id'],
'app_secret' => $app['config']['services.facebook_poster.app_secret'],
'app_id' => $app['config']['services.facebook_poster.client_id'],
'app_secret' => $app['config']['services.facebook_poster.client_secret'],
'default_access_token' => $app['config']['services.facebook_poster.access_token'],
]);
});
Expand Down

0 comments on commit 9fd22ae

Please sign in to comment.