SocialiteProviders / Providers

A Collection of Providers for Laravel Socialite
https://socialiteproviders.com
MIT License
487 stars 435 forks source link

composer require socialiteproviders/twitter SocialiteProviders\Twitter\Provider does not extend Laravel\Socialite\Two\AbstractProvider #1193

Open phpmac opened 2 months ago

phpmac commented 2 months ago
SocialiteProviders\Twitter\Provider does not extend Laravel\Socialite\Two\AbstractProvider

当我使用twitter提供者会提示出错

SocialiteProviders\Twitter\Provider does not extend Laravel\Socialite\Two\AbstractProvider
npldevfr commented 1 month ago

same issue here!

Capture d’écran 2024-05-13 à 12 24 47

My AppServiceProvider.php :

public function boot(): void
    {

        Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) {
            $event->extendSocialite('discord', \SocialiteProviders\Discord\Provider::class);
            $event->extendSocialite('twitter', \SocialiteProviders\Twitter\Provider::class);
        });
    }
atymic commented 1 month ago

Our twitter provider is a oauth v1 provider, which i'm guessing is why it's giving an error. Can you post the full stacktrace please?

atymic commented 1 month ago

Is there a reason why you can't use the offical socialite provider?

atymic commented 3 weeks ago

@phpmac

npldevfr commented 1 week ago

Hi @atymic, sorry for the delay in replying, I hadn't seen your answer !

Here is my stacktrace https://flareapp.io/share/dPbD43A5