Category "tweepy"

Permission of the API Twitter

I'm making a twitter bot to like tweets and at first the script is right. The problem is with the twitter API permission. It says "Read only" and there is no op

Authenticating other Users from my App - Tweepy

I've created an app in python to like tweets by hitting the POST endpoint -very simple. Next I'd like to have an account different than mine able to login and a

How can I add Unicode character in status text by using Tweepy?

I want to update status with the Chinese text 我 for which the Unicode is U+6211. I do the same thing when I add emoji in status ("\U0006211") but it didn

Tweepy Python returns: 401 Unauthorized

So, I was trying to like a Tweet using Tweepy, but this error is occurring: Traceback (most recent call last): File "c:/Users/User/Desktop/VScode/Python/Fibra

Tweepy streamer not capturing full tweet text

I am currently scraping tweets via Tweepy into a mySQL database. I am new to routing data into a server, so I am having trouble adjusting my code to get the ext

Using tweepy API to send timed direct messages

I've been messing around with tweepy as a way to get into learning basic python script writing. I figured out how to tweet via an edited text document to .py sc

Why am I unable to authenticate via Tweepy?

Newbie coder having issues authenticating via tweepy. below is the code. import tweepy access_token="" access_token_secret="" api_key="" api_secret_key="" auth

tweepy.errors.Forbidden: 403 Forbidden using Twitter API v2 functions in Tweepy?

I am just starting out with using Tweepy and have been having trouble when trying to use the v2 API functions to write a program to Tweet text. Currently, I am

Tweepy API v2 "NoneType"

import tweepy client = tweepy.Client(consumer_key='REPLACE_ME', consumer_secret='REPLACE_ME', access_token='REPLA

Learning to use Tweepy and Twitter API

I'm currently trying to learn the Twitter API within Python. My code is this: import tweepy consumer_key = "Consumer Key" consumer_secret = "Consumer Secret"

Tweepy pagination KeyError: 0

I tried using tweepy's pagination based on the code provided in it's documentation: ``` import tweepy auth = tweepy.AppAuthHandler("Consumer Key here", "Consum

Why I get forbidden error for only reading home timeline?

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

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