오전에 잘 되다가 뭔가를 걸드렸는지 지금은 안됩니다. 음.

고수님들 도와주세요.

 

     private void getOAuthPin(){ 
        client = new OAuthSignpostClient(TWITTER_OAUTH_KEY, TWITTER_OAUTH_SECRET, "oob");
        Twitter jtwit = new Twitter(username, client);
        client.setProvider(provider);
        final String authURL = client.authorizeUrl().toString();  <---여기서 에러
     
          Toast.makeText(this, "Remember PIN to authorize application", Toast.LENGTH_LONG).show();
    wv.loadUrl("authURL);
         
    }

상기 빨간 글자부분에서 에러가 걸립니다.

 

 12-21 17:57:32.229: E/AndroidRuntime(1718): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.handycodeworks.tweety/com.handycodeworks.tweety.Tweety}: winterwell.jtwitter.TwitterException: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: Host is unresolved: api.twitter.com:443

무얼 잘못했을까요...흠...

물론 OAUTH_KEY, SECRET은 제대로 넣었습니다. 오후 종일 삽질하네...큭...