I remember that I had a somewhat similar problem, but it required a callback from me. In my case, it turned out in a different way. I had to comment
$Net::OAuth::PROTOCOL_VERSION = Net::OAuth::PROTOCOL_VERSION_1_0A;
Although in your case this is an unprocessed version
$Net::OAuth::PROTOCOL_VERSION = Net::OAuth::PROTOCOL_VERSION_1_0;
Try changing the version.
source
share