twitter-banner
twitter-banner copied to clipboard
Error While starting
I tried to run "npm start", but it shows error like this.
How to clear the error?
I tried to run "npm start", but it shows error like this.
How to clear the error?
Hey, you are getting this error because you didn't provide your Twitter API secret key
Please read this article to see how to get your API key: https://www.freecodecamp.org/news/create-a-dynamic-twitter-header/
@iamspruce I used all api Keys and access tokens. Still this error come.
@iamspruce Actually the problem is that you have name ACCESS_KEY in the .env file while you are calling process.env.ACCESS_TOKEN in the index js file while defining twitterClient Variable in step 2.
@dhananjayandayalan Change the ACCESS_KEY to ACCESS_TOKEN in your .env file to solve this.