Twitter Plugin gives error 32 after redirecting to callback URL

Hello everyone. I am trying to use the Twitter Plugin for user login, but it is not working.

  • I believe the Consumer Key, Consumer Secret, and Callback URL are set correctly. (The reason is that if I intentionally set an incorrect string in the Twitter Plugin, I get an error immediately upon request. When the correct information is set, the Twitter OAuth screen appears and I can confirm that it redirects back to the Callback URL).

  • After the Twitter OAuth screen is displayed and I am redirected to the Callback URL, I get an error: Error connecting to Twitter: {"errors":[{"code":32,"message":"Could not authenticate you."}]} and I am stuck. I have uploaded a video of this situation to YouTube: https://youtu.be/LVdIHd-kVPM

I referred this video and did almost the same thing. https://www.youtube.com/watch?v=1eDdPzS0G8E

Am I missing something?