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 8632071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:18:08+00:00 2026-06-12T09:18:08+00:00

I have integrate Twitter in my app successfully. But i couldn’t post contents on

  • 0

I have integrate Twitter in my app successfully. But i couldn’t post contents on my twitter account wall. I have tried many examples and tutorial. Please help me about this problem. Thanks in advance..

  • 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-12T09:18:09+00:00Added an answer on June 12, 2026 at 9:18 am

    Ok, I use Twitter4j library which you can download at http://twitter4j.org and add to your libs folder in your project.

    For the callback url, you have to set it up in your AndroidManifest like so :

             <activity
                android:name=".MyActivity"
                >
                <intent-filter>
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
    
                    <data android:scheme="callback-url" />
                </intent-filter>
            </activity>
    

    After you get your access token back, I would do the following to tweet a file :

    public void tweet(File f, String Message)
                throws TwitterException {
    
                StatusUpdate status = new StatusUpdate(Message);
                status.setMedia(f);
                // twitter is an object of Twitter for which you have set the authentication token
                twitter.updateStatus(status);
        }
    

    This works well for images but I haven’t tried it with video but it seems to me that it would work, you have to try it though.
    I hope this helps.

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

Sidebar

Related Questions

I want to integrate twitter in my android app. I have used twitter4j,jtwitter but
I have successfully integrated twitter's Oauth into my app, but anybody have an idea
I'm trying to integrate Twitter with my App right now. I have successfully set
I have integrate the twitter in my App with the help of this app
I have integrated Twitter and Facebook in my iPhone App successfully. Also Facebook and
Ok so I am trying to integrate twitter into my iPhone app. I have
I would like to integrate my app with Facebook, Twitter and Flickr. But the
I had successfully integrate twitter API and I am able to post text from
I have integrated twitter in my app. but I am not able to log
I successfully integrate sharekit into my app. At first, I was able to have

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.