Questions tagged as 'tweepy'

1
answer

How to access the structure of this Twitter result?

I have this portion of code: use (Tweepy) firstTweet = api.user_timeline('twitter')[0] print(firstTweet.text) print(firstTweet.id) results = api.retweets(firstTweet.id) print(results) When I get the result I get the following:    [Status...
asked by 02.02.2016 / 14:56
1
answer

Problem with GEO activated and without Lat or Long in Tweet's with Tweepy and Python

I think in the question I said everything. I use Python 3.5, Tweepy and after a search (search) of tweets through a keyword, I see that many have the GEO active but I can not access Lat and Lng using Tweepy. Does anyon...
asked by 21.02.2016 / 17:41
1
answer

Python tweepy trends and tweets

I have the following code to get trends and show me the tweets that have been made from Madrid trends1 = api.trends_place(1) trends = set([trend['name'] for trend in trends1[0]['trends']]) print trends but when executing it, it brings out a...
asked by 11.12.2016 / 16:29
2
answers

Get a Twitter user's timeline with tweepy

I have to get the timeline of my twitter profile and the one of a user that we want with tweepy and take the date , the author and the text or. I have the following code, but it shows me only the text of my timeline: import tw...
asked by 10.12.2016 / 20:42
1
answer

Search followers of a twitter account using python

Hi, I am trying to find the followers of a twitter account using python . What I did was this, but it looks for the users that I follow. And I only print one. I need you to print all FOLLOWERS of the account. Does anybody give me...
asked by 28.11.2017 / 16:12
1
answer

Return multiple values in a For Loop

I am working on a project with Twitter which must be accessed through Tkinter, the fact is that I had first designed a function only in python, I used a 'For' loop and with print I saw what this gave me as result. The fact is that as a Tkinter w...
asked by 08.06.2018 / 03:28
1
answer

Python / Tweetpy - User Not Found

I am seeing how to extract data from Twitter with Python and Tweetpy, however when I put any user on the list, it does not find them. Am I wrong in the method ?. It is the following: for handle in handles_list: print ('Fetching @' + handle...
asked by 14.12.2017 / 15:00
1
answer

Python: AttributeError: module 'tweepy' has no attribute 'OAuthHandler'

I am a beginner in programming, and recently I have problems with OAuthHandler authentication, how can I solve it     
asked by 31.10.2017 / 01:51