Skip to content

SSL Required! #1

@miudevelopers

Description

@miudevelopers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions