2014-02-07 46 views
2

我試圖通過node.js中和的oauth2使用Twitter的API(1.1版),但我總是得到同樣的錯誤:OAuth2和Twitter的API 1.1「錯誤認證錯誤」

Error: 
{ statusCode: 400, 
    data: '{"errors":[{"message":"Bad Authentication data","code":215}]}' } 

這裏代碼段的我使用:

http://pastie.org/8708152

這是基於:

http://webapplog.com/node-js-oauth1-0-and-oauth2-0-twitter-api-v1-1-examples/

任何幫助,將不勝感激我花了很多小時,試圖使其工作已經。

回答