且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Twitter :: Error :: Forbidden - 无法验证您的凭据

更新时间:2021-07-30 15:50:52

Ok ,我发现答案...初始化器中的键必须用引号设置:

Ok, I found the answer... Keys in the initializer must be set with quotation marks :

Twitter.configure do |config|
    config.consumer_key = 'PKe41...'
    config.consumer_secret = 'qETY.....'
end