Android: Twitter and OAuth anyone?

2020-03-06 07:37发布

问题:

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.