Python Forum
Why is basic Twitter Connectivity So Difficult? Not sure what I'm doing wrong.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is basic Twitter Connectivity So Difficult? Not sure what I'm doing wrong.
#1
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:

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!!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Jira Connectivity Shyam 1 315 Apr-17-2024, 08:55 AM
Last Post: Abhishikt
  How do I scrape profile information from Twitter People search results? asdad 0 736 Nov-29-2022, 10:25 AM
Last Post: asdad
  difficult string conversion need help Pir8Radio 3 1,068 Nov-27-2022, 06:15 PM
Last Post: Gribouillis
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,573 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  Is it possible to write a python script to block twitter feeds? cubangt 0 874 Apr-07-2022, 04:14 PM
Last Post: cubangt
  Reducing JSON character count in Python for a Twitter Bot johnmitchell85 2 53,399 Apr-28-2021, 06:08 PM
Last Post: johnmitchell85
  creating simplex tableau pivot program easy or difficult for a beginner in Python? alex_0 2 2,583 Mar-31-2021, 03:39 AM
Last Post: Larz60+
  Twitter follower network gugatcgwgf 2 2,060 May-06-2020, 10:29 AM
Last Post: gugatcgwgf
  Mysql-Python Connectivity Error aryamanurs 2 3,461 Apr-29-2020, 02:21 PM
Last Post: aryamanurs
  How to solve difficult non-linear equations? shreeniket 3 2,401 Apr-23-2020, 01:36 AM
Last Post: shreeniket

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020