Hi all,
i am trying to send tweets through my application and i use twitter4j
library and OAuth but when i run it in my
laptop i got the below exception but i sent the application to my
friend it runs normally so what is the reason for that ?
thanks,
Yomna
Exception in thread "main" 401:Authentication credentials (http://
dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you
have set valid conumer key/secret, access token/secret, and the system
clock in in sync.
Failed to validate oauth signature and token
Relevant discussions can be on the Internet at:
http://www.google.co.jp/search?q=0eeacd7f or
http://www.google.co.jp/search?q=d19ce51d
TwitterException{exceptionCode=[0eeacd7f-d19ce51d], statusCode=401,
retryAfter=0, rateLimitStatus=null, version=2.2.2}
at
twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:
189)
at
twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
65)
at
twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
102)
at
twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:
108)
at
twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:
271)
at
twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:
264)
at
sarmadyassignment.TwitterAssignment.main(TwitterAssignment.java:40)
=========
--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk