yes. i have change the library files from twitter4j 3.1.0 to twitter4j.4.0.1
I use java to connect twitter api. I test my code on local test machine can work, however put it on server to execute find errors like following:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2014/04/02 14:56:05 [ERROR] twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:179)
2014/04/02 14:56:05 [ERROR] twitter4j.HttpClientBase.request(HttpClientBase.java:53)
2014/04/02 14:56:05 [ERROR] twitter4j.HttpClientBase.get(HttpClientBase.java:71)
2014/04/02 14:56:05 [ERROR] twitter4j.TwitterImpl.get(TwitterImpl.java:1950)
2014/04/02 14:56:05 [ERROR] twitter4j.TwitterImpl.getRateLimitStatus(TwitterImpl.java:1862)
Can any one tell me, what can I do for this exception. Thank you.
two ways: upgrade to twitter4j 3.0.5, or, add following line to your twitter4j.properties: http.useSSL=true
This worked for me. Thanks.
i am getting following error please help out there i dont what is happening here i am very very new to iOS
014-04-23 14:51:50.190 twitterByAuthenticate[1279:a0b] errorError Domain=STTwitterTwitterErrorDomain Code=220 “Your credentials do not allow access to this resource” UserInfo=0xb561560 {NSUnderlyingError=0xb565440 “HTTP Status 403: Forbidden”, NSLocalizedDescription=Your credentials do not allow access to this resource}
xymalf
#148
Do you now need a SSL webpage to write twitter apps? I used to have an app that displayed latest 20 twitter friends . Is this still posible to do?
Good ! Thanks. Alex from Brazil ( http://www.significadosnomes.com/ )
cnkcr
#152
I tested on the site, ı don’t know… Pls look my web site http://www.somutgayrimenkul.com/emlak/iletisim/ --Thank you
Who can help me ?
I’m using Net::Twitter::Lite.
I set values for consumer_key, consumer_secret, access_token, access_token_secret, ssl => 1, legacy_lists_api => 1.
But I always get error in my log: 500: Can’t connect to api.twitter.com:443 (Bad hostname ‘api.twitter.com’)
Host is alive (tryed by ping and telnet on port 443)
Hi,
I am also facing the same issue since yesterday. It was working fine till yesterday and now its giving same error as above. Can you please explain how you solved it!