You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured the following steps but make error postTweet method of laravel 9.
Error: Call to undefined method Atymic\Twitter\Service\Accessor::postTweet()
I configured the following steps but make error postTweet method of laravel 9.
Error: Call to undefined method Atymic\Twitter\Service\Accessor::postTweet()
composer require atymic/twitter
php artisan vendor:publish --provider="Atymic\Twitter\ServiceProvider\LaravelServiceProvider"
php artisan vendor:publish --provider="Atymic\Twitter\ServiceProvider\LaravelServiceProvider"
use Atymic\Twitter\Facade\Twitter;
public function tweet()
Twitter::postTweet(['status' => 'Laravel is beautiful', 'response_format' => 'json']);
}
The text was updated successfully, but these errors were encountered: