Hi,
nowadays all twitter actions must be via SSL.
T4JTwitterLogin is not using SSL connection, so we modified your code in order to use it.
We added a couple of lines of code:
in askOAuth function (T4JTwitterLoginActivity) we added:
configurationBuilder.setUseSSL(true);
before Configuration configuration = configurationBuilder.build();
and finally in the T4JTwitterLoginActivity.this.runOnUiThread run function, we changed
twitterLoginWebView.loadUrl(requestToken.getAuthenticationURL());
for
String url = requestToken.getAuthenticationURL().replaceFirst("http", "https");
twitterLoginWebView.loadUrl(url);
I hope it will help all the people that is using this project
Best regards.
Hi,
nowadays all twitter actions must be via SSL.
T4JTwitterLogin is not using SSL connection, so we modified your code in order to use it.
We added a couple of lines of code:
in askOAuth function (T4JTwitterLoginActivity) we added:
configurationBuilder.setUseSSL(true);
before Configuration configuration = configurationBuilder.build();
and finally in the T4JTwitterLoginActivity.this.runOnUiThread run function, we changed
twitterLoginWebView.loadUrl(requestToken.getAuthenticationURL());
for
String url = requestToken.getAuthenticationURL().replaceFirst("http", "https");
twitterLoginWebView.loadUrl(url);
I hope it will help all the people that is using this project
Best regards.