Category "tweepy"

403 when requesting Image URL in Python - works locally but not on PythonAnywhere

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

Twitter API v2 endpoints authentication error

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

How to tell a user is verified using Tweepy, Python

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

Python Tweepy app will not run on new machine but runs on my laptop

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

Python os.getenv() returning None when set Windows environment variables

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

How to check if extended entity is present or not in tweepy response

I am able to fetch different tweet parameters from tweet. keyword = tweepy.Cursor(api.search, val,tweet_mode='extended',lang='en').items(2) tweetdone =

missing import for tweepy on vscode

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

How to store data from StreamingClient.filter() or .sample() from the Tweepy Module Twitter API v2

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

Tweepy Cursor not reaching its limit

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

Access quoted_status object in Tweepy API.search_tweets

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

Tweepy for Twitter API v2 - Extracting Additional Fields for Tweet Search

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

403 Error with tweepy

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

Return a users tweets with tweepy

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 =