title: "SSL is required" exception while requesting OAuthRequest Token using Twitter4J library
body: <p>I was trying this sample application provided <a href="https://github.com/itog/Twitter4j-android-Sample" rel="nofollow">here</a>, I am getting "SSL is required" exception in this particular piece of code</p>
  
  <pre><code>private void askOAuth() {
          ConfigurationBuilder configurationBuilder = new ConfigurationBuilder();
          configurationBuilder.setOAuthConsumerKey(Const.CONSUMER_KEY);
          configurationBuilder.setOAuthConsumerSecret(Const.CONSUMER_SECRET);
          Configuration configuration = configurationBuilder.build();
          twitter = new TwitterFactory(configuration).getInstance();
  
          try {
              requestToken = twitter.getOAuthRequestToken(Const.CALLBACK_URL);
              Toast.makeText(this, "Please authorize this app!", Toast.LENGTH_LONG).show();
              this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(requestToken.getAuthenticationURL())));
          } catch (TwitterException e) {
              Log.e(TAG, e.getMessage());
          }
      }
  </code></pre>
  
  <p>when <code>twitter.getOAuthRequestToken(Const.CALLBACK_URL);</code> is executed I get this exception.</p>
  
  <p>I have configure consumer key, consumer secret and callback url to that of my application.</p>