请帮我。我需要一个将使用oauth + twitter api进行鸣叫的代码...
http://www.youtube.com/watch?v=25o0b2aEw0E
我已经使用了这个项目,但出现错误
08-25 11:47:32.747:WARN / System.err(2029):org.apache.http.client.HttpResponseException:未经授权
08-25 11:47:32.747:WARN / System.err(2029):位于org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:71)
08-25 11:47:32.747:WARN / System.err(2029):位于org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:59)
08-25 11:47:32.756:WARN / System.err(2029):位于org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
08-25 11:47:32.756:WARN / System.err(2029):位于org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
08-25 11:47:32.756:WARN / System.err(2029):位于org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
08-25 11:47:32.756:WARN / System.err(2029):at com.test.twitter.BLOA $ PostTask.doInBackground(BLOA.java:336)
08-25 11:47:32.756:WARN / System.err(2029):at com.test.twitter.BLOA $ PostTask.doInBackground(BLOA.java:1)
08-25 11:47:32.756:WARN / System.err(2029):at android.os.AsyncTask $ 2.call(AsyncTask.java:185)
08-25 11:47:32.756:WARN / System.err(2029):at java.util.concurrent.FutureTask $ Sync.innerRun(FutureTask.java:256)
08-25 11:47:32.756:WARN / System.err(2029):at java.util.concurrent.FutureTask.run(FutureTask.java:122)
08-25 11:47:32.756:WARN / System.err(2029):at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:648)
08-25 11:47:32.756:WARN / System.err(2029):at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:673)
08-25 11:47:32.756:WARN / System.err(2029):at java.lang.Thread.run(Thread.java:1060)
并且我想在发布推文时解决该错误。.请帮助
谢谢并恭祝安康...
最佳答案
http://net.tutsplus.com/tutorials/php/creating-a-twitter-oauth-application/
http://net.tutsplus.com/tutorials/php/how-to-authenticate-users-with-twitter-oauth/
关于android - 我收到httpresponse异常:未经授权的Twitter应用程序+ oauth ..如何解决?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/3562947/