Twitter webpage does not close automaticaly while using twitter 4j for android


After authenticating from my app, a new window is shown that later redirects back to the application. Then onNewIntent() is called in my activity. But when select to go back to my app, the twitter web page still shows. Twitter page with a redirect back to the application should not be shown. How do I close the Twitter webview?


i have the same problem… anyone?


Still looking for a solution


i have same problem!


I’m not sure if this is what you want, but check this
It helped me with redirecting back to my application. Not sure if this is what you are looking for though. :slight_smile:


You are right that it redirect back to your app.But when you close your app and press back then you will find that browser is opened with this page


After a long time I found a good solution
Click Here


This will help you
Click here



This will help you
Click here


Not Working


This is not working


its not working…
it still show login fail.
code is good but can’t post on user profile.
send me a verfied code on

thanks in advance