Hello, I am using the signpost twitter example but with Netflix's api.

  OAuthConsumer consumer = new DefaultOAuthConsumer(
                CONSUMER_KEY,
                CONSUMER_SECRET,SignatureMethod.PLAINTEXT);

        OAuthProvider provider = new DefaultOAuthProvider( consumer,
                "http://api.netflix.com/oauth/request_token";,
                "http://api.netflix.com/oauth/access_token";,
                "https://api-user.netflix.com/oauth/login";);
        try{
                // we do not support callbacks, thus pass OOB
                @SuppressWarnings("unused")
                        String authUrl = 
provider.retrieveRequestToken(OAuth.OUT_OF_BAND);
                System.out.println(authUrl);


As soon as my code reaches the String authUrl = it throws exception
with message;


09-07 10:36:52.271: INFO/System.out(956): Communication with the
service provider failed: Received authentication challenge is null



What does that mean, the key and secret values are right because I
tested on Netflix's auth walkthrough

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to