diff --git a/src/Despark/LaravelSocialFeeder/LaravelSocialFeederServiceProvider.php b/src/Despark/LaravelSocialFeeder/LaravelSocialFeederServiceProvider.php index 575d5aa..f4f7c46 100644 --- a/src/Despark/LaravelSocialFeeder/LaravelSocialFeederServiceProvider.php +++ b/src/Despark/LaravelSocialFeeder/LaravelSocialFeederServiceProvider.php @@ -2,6 +2,7 @@ use Illuminate\Foundation\AliasLoader; use Illuminate\Support\ServiceProvider; +use App; class LaravelSocialFeederServiceProvider extends ServiceProvider { @@ -26,7 +27,10 @@ public function boot() { $this->package('despark/laravel-social-feeder'); + App::register('SammyK\LaravelFacebookSdk\LaravelFacebookSdkServiceProvider'); + AliasLoader::getInstance()->alias('SocialFeeder', 'Despark\LaravelSocialFeeder\SocialFeeder'); + AliasLoader::getInstance()->alias('Facebook', 'SammyK\LaravelFacebookSdk\FacebookFacade'); } /**