skip to Main Content

Use Laravel 7 HTTP client and OAuth Subscriber – Twitter API

I'm actually using Guzzle and Guzzle OAuth Subscriber https://github.com/guzzle/oauth-subscriber to post a tweet via the Twitter api. My code looks like this : $stack = HandlerStack::create(); $middleware = new Oauth1([ 'consumer_key' => config('services.twitter.client_id'), 'consumer_secret' => config('services.twitter.client_secret'), 'token' => $this->user->twitter->token, 'token_secret'…

VIEW QUESTION
Back To Top
Search