Oauth authentication failed for unknown reasons


#1

hello, I ran into some difficulty of authenticating by oauth, can someone help me? I just followed twitter’s instructions to create an application on dev.twitter.com, and successfully obtained consumer_key, consumer_secret, access_token, access_token_secret. However, when I use twitter4j to establish twitter stream connection using these tokens, it said the credentials are incorrect. Does it take some time for the credentials to take effect or something happened? If so, how long should I wait? Thank you