安卓。Twitter和OAuth的人?[英] Android: Twitter and OAuth anyone?

本文是小编为大家收集整理的关于安卓。Twitter和OAuth的人?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我想知道是否有人得到了这个工作.我正在尝试做一个基本的身份验证,但由于某种原因它不断抱怨"无法验证您".我怎么样才能通过OAuth运行它?

推荐答案

我有一个教程回来写这一点.您可以在此处播放它,这漫长,所以我不会在这里重新发布它

其他推荐答案

路标解决方案是大量额外的工作.

有一种方法可以忍受Twitter4j,只需要几行代码.解决方案来自斯蒂芬, .

我有一个使用他的方法的示例应用程序,这里

本文地址:https://www.itbaoku.cn/post/102507.html

问题描述

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?

推荐答案

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

其他推荐答案

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.