tweepy Questions
5
Solved
Can you please advise me how to get Python3 with modules running at my Synology (DS214play, with DSM 6.0.1-7393 Update 1)?
What I want: run Tweepy and other modules in Python3 on my Synology.
Wher...
4
Solved
class MyStreamListener(tweepy.StreamListener):
def on_status(self, status):
print(status.text) # prints every tweet received
def on_error(self, status_code):
if status_code == 420: # end of mo...
Emotionalize asked 2/10, 2021 at 12:39
6
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 set my Windows environment variables a...
Hypognathous asked 23/8, 2020 at 23:22
4
Solved
I've been stuck on a part of a Udemy course. Even the (very helpful) tutor on there has run of ideas. When I try and run my script I get:
ModuleNotFoundError: No module named 'psycopg2'
I've d...
3
Using the below python code, while the authentication is successful, I get the following error:
Error Code: 453: You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 ...
Unbidden asked 7/6, 2023 at 1:36
1
Solved
I have a Twitter developer account with free access. From my understanding, I’m able to post tweets. But I keep getting an error.
This is the code:
import tweepy, sqlite3 as db, os
# Put your Tw...
2
i'm trying to create my first Twitter bot using Twitter API V.2 and Tweepy. So i can post simple text Tweets but i haven't found how to post tweets with medias (pictures) so how can i do that ? (I ...
1
I had recently registered for the free level Twitter API, and I would like to use Tweepy to help me extract tweets from users.
api_key = config['twitter']['api_key']
api_secret = config['twitter'][...
1
Solved
I'm encountering
tweepy.errors.Forbidden: 403 Forbidden
When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a...
1
Solved
I'm trying to use this function with Python
def create_thread(message_text, media_ids=None):
tweets = [message_text[i:i + 280] for i in range(0, len(message_text), 280)]
if media_ids:
response =...
Monda asked 28/5, 2023 at 16:2
2
Solved
I'm trying to authenticate to twitter's new API (v2) using tweepy and retrieve tweets but encounter a strange error related to the authentication process.
I'm currently using the free access to the...
4
Solved
I'm using Tweepy to download tweets. I have a program that then writes the actual Status object to a file in text form. How do I translate this into JSON, or import this object back into Python? I'...
1
I am working on an academic research project and I am trying to send out tweets using the the Twitter API. The error I am receiving repeatedly is
Forbidden: 403 Forbidden
Your client app is not con...
Livesay asked 14/11, 2022 at 18:49
3
Solved
So i am stuck trying to figure out how to retweet a tweet with a comment, this was added to twitter recently.
this is when you click retweet and add a comment to the retweet and retweet it.
basic...
4
Solved
I am trying to stream twitter data for a period of time of say 5 minutes, using the Stream.filter() method. I am storing the retrieved tweets in a JSON file. The problem is I am unable to stop the ...
2
I'm using getoldtweets3 library to scrape corona outbreak information. I get this error -
error : C:\Users\Vilius\anaconda3\python.exe C:/Users/Vilius/PycharmProjects/Sentiment-Analysis2/twitter_an...
Agamemnon asked 18/9, 2020 at 8:53
14
Solved
I am new to installing new python modules.
I installed tweepy using pip install tweepy. The installation was successful and 2 folders tweepy & tweepy-3.3.0.dist-info are created in the Lib/sit...
3
Solved
I have the following code in Python:
import tweepy
consumer_key = "..."
consumer_secret = "..."
access_token = "..."
access_token_secret = "..."
auth = tweepy.OAuthHandler(consumer_key, consume...
5
Solved
Is it possible to get the full follower list of an account who has more than one million followers, like McDonald's?
I use Tweepy and follow the code:
c = tweepy.Cursor(api.followers_ids, id = 'M...
4
Solved
I'm trying to post a tweet with the tweepy library. I use this code:
import tweepy
CONSUMER_KEY ="XXXX"
CONSUMER_SECRET = "XXXX"
ACCESS_KEY = "XXXX"
ACCESS_SECRET = "XXXX"
auth = tweepy.OAuthH...
3
Solved
In Python 3 I made program to extract posts and likes in Twitter:
import tweepy
import pandas as pd
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy...
3
I would like to have the search result from Twitter using Tweepy as JSON.
I saw here that I should add a class to Tweepy code to make this feature works.
But when I look at Tweepy code, this is wh...
7
I am trying to retrieve Twitter data using Tweepy, using that below code, but I'm returning 401 error, and I regenerate the access and secret tokens, and the same error appeared.
#imports
from twe...
3
Solved
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 = 'myatoken'
asecret = 'myasecret'
a...
4
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 403 error with no specific details.
...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.