Support the ongoing development of Laravel.io →
Authentication Packages

I am using artdarek/oauth-4-laravel for OAuth.

Twitter's Api v1.1 has some nodes which can be accessed using only application id & secret, without user authenticationn /user/show is one of then.

I am unable to make a request

$twitter = OAuth::consumer( 'Twitter' );
$twitter = $twitter->request( '/1.1/users/show.json?screen_name=xxYYzz' );

// throws : OAuth \ Common \ Storage \ Exception \ TokenNotFoundException

Any idea on how to make the request ?

An example of how can I do this would be appreciated. ThankX

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

mcraz mcraz Joined 12 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.