tweepy Questions
7
Solved
I can't seem to get tweepy to work with replying to a specific tweet:
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(a...
7
Solved
I installed pip install tweepy and it installed without errors.
Requirement already satisfied: tweepy in /Library/Python/2.7/site-packages
Requirement already satisfied: requests>=2.11.1 in /Lib...
1
Solved
I just created twitter api with elevated access but I can't generate access token with write permission. I need this permission to update my twitter name.
2
Solved
How do I print out the full urls in tweepy (rather than the t.co link)? The following code prints out "this is a test link http://t.co/93Hme7Jv 90210", even though twitter.com shows "this is a test...
3
Solved
2
Solved
I'm trying to replicate this snippet from geeksforgeeks, except that it uses the oauth for Twitter API v1.1 while I the API v2.
# the screen name of the user
screen_name = "PracticeGfG"
...
Foreordain asked 8/1, 2022 at 9:7
2
Solved
I am using python 3.4.3 and I followed all the instruction on the link:
http://www.lyonwj.com/2015/05/28/content-recommendation-from-links-shared-on-twitter/
i am getting error when i try running t...
3
Solved
I started exploring tweepy a couple days ago and was able to stream filtered (with keywords) tweets at real time. Now I want to stream not only filtered tweets but also tweets from several specific...
1
I have a similar problem as in this question (Problem with getting user.fields from Twitter API 2.0)
but I am using Tweepy. When making the request with tweet_fields, the response is only giving me...
6
Solved
I'm new to python and I'm trying to use a library. It raises an exception, and I am trying to identify which one. This is what I am trying:
except tweepy.TweepError as e:
print e
print type(e)
...
Doublejointed asked 17/6, 2013 at 22:13
6
Solved
When I signed up for the Twitter API for research , they gave me 3 keys: API Key, API Secret Key, and Bearer Token. However the Hello Tweepy example, 4 keys are used: consumer_key, consumer_secret,...
Connoisseur asked 11/2, 2021 at 14:45
2
I need my Twitter app to tweet some information, but something is going wrong.
First, I created an app and tried this code to test credentials:
auth = tweepy.OAuthHandler("CONSUMER_KEY", ...
6
Solved
I saw in some question on Stack Exchange that the limitation can be a function of the number of requests per 15 minutes and depends also on the complexity of the algorithm, except that this is not ...
Expendable asked 23/1, 2014 at 12:53
2
I'm still really new to coding and currently taking courses online, in which we are beginning to work with the Twitter API. I am trying to capture the ID of a Twitter account and display it below, ...
Convalesce asked 13/10, 2021 at 3:48
2
I received the following error message when I ran the code. The code should return the tweets that match the specified query. Did Twitter block the search attribute?
Error Message
for tweets ...
2
Solved
Using tweepy I am able to return all of my friends using a cursor. Is it possible to specify another user and get all of their friends?
user = api.get_user('myTwitter')
print "Retreiving friends f...
2
I am using this code:
import tweepy
from tweepy.api import API
import urllib
import os
i = 1
consumer_key="xx"
consumer_secret="xx"
access_token="xx"
access_token_secret="xx"
auth = tweepy.OAuthH...
2
Solved
I'm trying to write a simple twitter bot using python and tweepy. The code is as follows:
import tweepy
CONSUMER_KEY = 'xxxxxxxxxxxxxxxxx'
CONSUMER_SECRET = 'xxxxxxxxxxxxxxxxxxxxx'
ACCESS_KEY = 'x...
8
I have been trying to figure this out but this is a really frustrating. I'm trying to get tweets with a certain hashtag (a great amount of tweets) using Tweepy. But this doesn't go back more than o...
1
I am looking forward to extract some data from my profile in Twitter by using the following Tweepy code:
import tweepy
client = tweepy.Client(consumer_key=consumer_key, consumer_secret=consumer_se...
5
Solved
I am trying to go through tweets of a particular user and get all replies on that tweet. I found that the APIv1.1 of twitter does not directly support it.
Is there a hack or a workaround on gettin...
Obliteration asked 28/4, 2015 at 19:52
3
Solved
I am using tweepy to handle a large twitter stream (following 4,000+ accounts). The more accounts that I add to the stream, the more likely I am to get this error:
Traceback (most recent call last...
Drily asked 30/12, 2017 at 14:13
5
While running this program to retrieve Twitter data using Python 2.7.8 :
#imports
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener
#setting up...
Vandavandal asked 29/10, 2014 at 18:47
3
Solved
I am trying to create a project that accesses a twitter account using the tweepy api but I am faced with status code 429. Now, I've looked around and I see that it means that I have too many reques...
8
Solved
I am using tweepy streaming API to get the tweets containing a particular hashtag . The problem that I am facing is that I am unable to extract full text of the tweet from the Streaming API . Only ...
Ferdinand asked 18/1, 2018 at 10:37
© 2022 - 2025 — McMap. All rights reserved.