Mar-10-2018, 12:38 PM
Hi all,
I created a twitter app. I have created the consumer key, consumer secret key, the token and token secret keys.
The app is set up for max permissions.
The app has no callback URL set since I'm calling it from a client program like Python.
The oAuth "test" button on Twitter shows the empty app page.
----------------
Yet, when I do a simple connection attempt, I get:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
The basic code could not be simpler:
---
I also tried connectivity using twitter4j (the java library), but it fails with basic 401 authentication issues.
Totally baffled what's going on and why this is so difficult and what else I can possibly try with the most basic example fails.
Would greatly appreciate suggestions on anything to try next.
Thanks!!!
I created a twitter app. I have created the consumer key, consumer secret key, the token and token secret keys.
The app is set up for max permissions.
The app has no callback URL set since I'm calling it from a client program like Python.
The oAuth "test" button on Twitter shows the empty app page.
----------------
Yet, when I do a simple connection attempt, I get:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
The basic code could not be simpler:
1 2 3 4 5 6 7 8 9 10 |
from twitter import * t = Twitter( auth = OAuth( "*******" , "*******" , "*******" , "*******" )) # Get your "home" timeline t.statuses.home_timeline() |
I also tried connectivity using twitter4j (the java library), but it fails with basic 401 authentication issues.
Totally baffled what's going on and why this is so difficult and what else I can possibly try with the most basic example fails.
Would greatly appreciate suggestions on anything to try next.
Thanks!!!