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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:12:51+00:00 2026-05-16T09:12:51+00:00

I am currently working on Twitter4j for connecting to Twitter API. As with any

  • 0

I am currently working on Twitter4j for connecting to Twitter API. As with any enterprise the request has to be routed through a proxy server and I was able to do the regular way of working around the proxy server with the help of a proxy authenticator. I configured my app in Twitter and got my consumer key and secret. I am able to successfully update status in Twitter using this setup.

From a technical Java classes standpoint I have

1) index.html
2) login.java (Servlet for getting OAuth request and access tokens and redirecting the URL to the callback)
3) Callback.java which updates the tweet in Twitter

Coming to the challenges

1) Now there is a new requirement that the request to the twitter be through HTTPClient.
I am unable to figure out how to get this. I know how to use HTTPClient but using the HTTPClient by sending the proxy credentials through it. Is it even possible?

2) I tried to use the ConfigurationBuilder, Congfiguration (supposed to be in Twitter4j)but the documentation is not good.

Can someone please direct me to some example/URL ?

Thanks

  • 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-05-16T09:12:52+00:00Added an answer on May 16, 2026 at 9:12 am

    1) According to this JIRA issue proxy support when using Apache HttpClient will be available in Twitter4j 2.1.4.

    2) Perhaps the JUnit test could be helpful? I’m not familiar with the API but unit tests can sometimes provide a clue about API usage in lieu of good examples.

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

Sidebar

Related Questions

I'm currently working in a service that has an API access through Oauth. I
I am working with a java Twitter app (using Twitter4J api). I have created
Im currently working with an API which requires we send our collection details in
I am currently working on a web project that makes heavy use of twitter
Is there any known method to have a date input working while using Twitter
I'm currently working on an app that works with Twitter, but while developing/testing (especially
I've been working through the Stanford iPhone Coding course and currently hooking into the
I am currently working on app which is supposed to have Twitter integration. The
Currently working on a project to upgrade our Goole Maps API from v2 to
Hii People, i m working on App which uses twitter api to fetch client

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.