I was wondering if anyone got this working. I am trying to do a basic authentication but for some reason it keeps complaining "Could not authenticate you.". How would I go about getting it to run with OAUTH?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I have a tutorial written for this a while back. You can get it on my blog here, it's lengthy so I won't repost it here
回答2:
The signpost solution is a lot of extra work.
There's a way to do it wither Twitter4j that only takes a few lines of code. The solution comes from Stephan, here.
I have an example app using his approach, here.