rust – Why am I getting an invalid request error using twitter api
So over at the twitter api documentation, it says to generate a Bearer token you run this command curl --user "$API_KEY:$API_SECRET_KEY" --data 'grant_type=client_credentials' 'https://api.twitter.com/oauth2/token' I run it and the result I get is the HTML for https://api.twitter.com/ouath2/token Then I wrote…