0
我試圖用騾子應用程序發送微博,但我得到一個壞證書錯誤Twitter的連接器
root Exception stack trace:
org.mule.api.ConnectionException: Bad credentials
at org.mule.twitter.TwitterConnector.connect(TwitterConnector.java:165)
at org.mule.twitter.connectivity.TwitterConnectorConnectionFactory.makeObject(TwitterConnectorConnectionFactory.java:57)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
它有4個關鍵ACCESSKEY,accesSecret,consumerKey和consumerSecret,consumerKey和consumerSecret是當創建一個twitter應用程序,但爲accessKey和訪問祕密時給出我已經使用了電子郵件和密碼,我用於在twitter上登錄,這是錯誤的?
我相信ACCESSKEY和accessSecret產生當給定用戶授予權限的應用程序,你可以創建自己的Twitter應用程序後,讓他們通過創建你的「訪問令牌」。 – afelisatti 2015-03-31 12:28:55
我有同樣的問題,我的憑證完全沒問題,但它似乎與twitter4j沒有考慮到我的代理設置有關。你是否支持代理? – 2016-03-02 16:09:31