Twitterとの連携 APIでエラー
require “vendor/autoload.php”;
use Abraham\TwitterOAuth\TwitterOAuth;
を利用してタイムラインを取得したいだけなのにうまくいかない・・・
When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.
[“registration_url”]=>
string(55) “https://developer.twitter.com/en/docs/projects/overview”
[“title”]=>
string(16) “Client Forbidden”
[“required_enrollment”]=>
string(31) “Appropriate Level of API Access”
[“reason”]=>
string(19) “client-not-enrolled”
[“type”]=>
string(51) “https://api.twitter.com/2/problems/client-forbidden”