My code is as simple as this, but it gave me 403 error: def init_api(): api = json.load(open('secret.json'))['twitterapi'] consumer_key = api['api_token
I'm trying to write a twitter bot using Python that just tweets images on a schedule and selects a random one from an array of URLs. I'm hosting the images on i
I am trying to pull tweets using Twitter Developer API V2. My access level is Elevated. This is how my code looks like: import tweepy consumerKey = "*********m
Given a user ID, I'd like to know whether they're a verified (blue check) Twitter user. I don't see anything in the documentation.. Is there any strategy I can
Just like it says. The app runs like a charm on my MacBook but on my M1 MacMini, both machines run Python3.7.2, server I get this error. Traceback (most recent
I am following a Twitter bot tutorial using the Twippy library and Twitter API: https://realpython.com/twitter-bot-python-tweepy/ I set the config.py file and s
I am able to fetch different tweet parameters from tweet. keyword = tweepy.Cursor(api.search, val,tweet_mode='extended',lang='en').items(2) tweetdone =
im having problem to use tweepy on vscode, it keep reporting a missing import of tweepy and i dont know why. on power shell shows that requirement already satis
I want to store Tweets that have certain hashtags such as #cats for example. I can pull the 10 most recent Tweets by executing client.search_recent_tweets(query
I am coding a Twitter bot which joins giveaways of users that I follow. The problem is that when I use a for loop to iterate over a ItemIterator Cursor of 50 it
I have trouble in accessing parts of the objects that get returned from Tweepy's search_tweets API. I can easily navigate through most of the objects, but someh
I started playing around with Twitter API v2 in Tweepy. I've had some experience with v1 but it looks like it's changed a bit. I'm trying to search tweets based
I am trying to use tweepy to operate a twitter account using Python but I appear to have slipped at the the first hurdle. No matter what I try, I keep getting a
I am using tweepy and python 2.7.6 to return the tweets of a specified user My code looks like: import tweepy ckey = 'myckey' csecret = 'mycsecret' atoken =