Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8567789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:57:41+00:00 2026-06-11T17:57:41+00:00

Iam using jtwitter library to authorize my app with Twitter. I used this http://marakana.com/forums/android/examples/312.html

  • 0

Iam using jtwitter library to authorize my app with Twitter. I used this http://marakana.com/forums/android/examples/312.html to authenticate, tweet and read the status.. Authentication and reading status works fine. But on click of Tweet button getting the following exception. Where is the wrong ?? Please help me.

/* Responsible for posting new status to Twitter */
class PostStatusTask extends AsyncTask<String, Void, String> {
@Override
protected String doInBackground(String... params) {
  try {
    twitter.setStatus(params[0]);
    return "Successfully posted: " + params[0];
  } catch (Exception e) {
   e.printStackTrace();
    return "Error connecting to server.";
  }
}

@Override
protected void onPostExecute(String result) {
  super.onPostExecute(result);
  Toast.makeText(MainActivity.this, result, Toast.LENGTH_LONG).show();
}

 }

LOGACT:

W/System.err(3073): http://api.twitter.com/1/statuses/update.json (anonymous)
W/System.err(3073):     at winterwell.jtwitter.URLConnectionHttpClient.processError(URLConnectionHttpClient.java:176)
W/System.err(3073):     at winterwell.jtwitter.OAuthSignpostClient.post(OAuthSignpostClient.java:129)
W/System.err(3073):     at winterwell.jtwitter.Twitter.updateStatus(Twitter.java:3220)
W/System.err(3073):     at winterwell.jtwitter.Twitter.updateStatus(Twitter.java:3161)
W/System.err(3073):     at winterwell.jtwitter.Twitter.setStatus(Twitter.java:2917)
W/System.err(3073):     at com.tarams.twitterdemo.MainActivity$PostStatusTask.doInBackground(MainActivity.java:244)
W/System.err(3073):     at com.tarams.twitterdemo.MainActivity$PostStatusTask.doInBackground(MainActivity.java:1)
W/System.err(3073):     at android.os.AsyncTask$2.call(AsyncTask.java:185)
W/System.err(3073):     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
W/System.err(3073):     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
W/System.err(3073):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
W/System.err(3073):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
W/System.err(3073):     at java.lang.Thread.run(Thread.java:1096)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:57:42+00:00Added an answer on June 11, 2026 at 5:57 pm

    TRY THIS
    http://www.android10.org/index.php/articleslibraries/291-twitter-integration-in-your-android-application#josc329

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Iam using this Formplugin engine for Validation http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/ it has method such as noSpecialCaracters
Android I am using jTwitter Twitter my_twiter = new Twitter(my_user_name,my_pass); my_twiter.setStatus(hello world); line 2
I am writing a twitter app using jtwitter - and its running inside a
Iam using geokit-rails (http://github.com/jlecour/geokit-rails branch gem). I like to build a scope like a
Hi iam using this code here http://jsfiddle.net/bryanjamesross/pyNJ9/ I segregated the whole code in one
I am writing an App using JTwitter however I need to authenticate in order
Iam using the following code in my file for overlay image.This works fine in
Iam using one Jquery Library which takes the Regular expression in json format in
iam using jquery and want to do below written //this is a template <div
iam using Asp.Net 2010 and MVC3 framework..I am new to this. When user registers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.