Skip to content Skip to sidebar Skip to footer
Showing posts with the label Twitter

Tweepy: Truncated Tweets When Using Tweet_mode='extended'

This is my code in python import tweepy import csv consumer_key = '?' consumer_secret = &#… Read more Tweepy: Truncated Tweets When Using Tweet_mode='extended'

How To Keep A Developer Key Secret In A Python Script That Is Hosted On Github

I am developing an open source Python-powered Twitter client, and to access the Twitter API and log… Read more How To Keep A Developer Key Secret In A Python Script That Is Hosted On Github

Tweet Classification Into Multiple Categories On (unsupervised Data/tweets)

I want to classify the tweets into predefined categories (like: sports, health, and 10 more). If I … Read more Tweet Classification Into Multiple Categories On (unsupervised Data/tweets)

Multiproccessing Twitter Api Calls Using Python

I want to do multiproccesing on twitter search API. I have got the code below and it do 1 call ever… Read more Multiproccessing Twitter Api Calls Using Python

Pep8 E501: Line Too Long Error

I get the error E501: line too long from this code: header, response = client.request('https://… Read more Pep8 E501: Line Too Long Error

Python: Lookuperror: Unknown Encoding: Hex

I'm using a Twitter API called Tweepy. It has been working fine, then I rebooted the server and… Read more Python: Lookuperror: Unknown Encoding: Hex

Getting Back To Back Error Using "wait_on_rate_limit" Parameter

In order to avoid rate limit error I used the parameter: wait_on_rate_limit in function api = twe… Read more Getting Back To Back Error Using "wait_on_rate_limit" Parameter

Query Regarding Pagination In Tweepy (get_followers) Of A Particular Twitter User

I am fairly new to tweepy and pagination using the cursor class. I have been trying to user the cur… Read more Query Regarding Pagination In Tweepy (get_followers) Of A Particular Twitter User

Tweepy Update Status With Media -unicodedecodeerror: 'ascii' Codec Can't Decode Error

Using Tweepy to update twitter post with photo. Update with status alone works fine. I am building … Read more Tweepy Update Status With Media -unicodedecodeerror: 'ascii' Codec Can't Decode Error

Tweepy Returns 414 Error Retrieving Status Of Only Most Recent Tweet

My code looks like: user = api.get_user('any_user_you_like') for status in api.user_timelin… Read more Tweepy Returns 414 Error Retrieving Status Of Only Most Recent Tweet

Extracting @mentions From Tweets Using Findall Python (giving Incorrect Results)

I have a csv file something like this text RT @CritCareMed: New Article: Male-Predominant Plasma Tr… Read more Extracting @mentions From Tweets Using Findall Python (giving Incorrect Results)

Twitter Stream Api Gives Jsondecodeerror("expecting Value", S, Err.value) From None

I am using the stream API of Twitter (through tweepy) to collect tweets matching certain criteria, … Read more Twitter Stream Api Gives Jsondecodeerror("expecting Value", S, Err.value) From None

Which Time Zone Does The Timestamps Are Written On Retweets

I am trying to understand when a tweet is retweeted. To do that I learnt how to use twitter API and… Read more Which Time Zone Does The Timestamps Are Written On Retweets

Ignoring Retweets When Streaming Twitter Tweets

I am trying to run a simple script that will stream live Tweets. Several attempts to filter out ret… Read more Ignoring Retweets When Streaming Twitter Tweets

401 Error Using The Streaming Features Of Twitter Api (through Tweepy)

I've got an application which takes advantage of a number of features of the Twitter API. I'… Read more 401 Error Using The Streaming Features Of Twitter Api (through Tweepy)

Python: How To Only Loop Over First 'x' Items Of A Very Long List; Writing A Twitter Bot With Tweepy

Noob here. I'm sure this is a simple problem. I'm writing a Twitter bot with tweepy. I'… Read more Python: How To Only Loop Over First 'x' Items Of A Very Long List; Writing A Twitter Bot With Tweepy

How To Collect Tweets About An Event That Are Posted On Specific Date Using Python?

I wish to collect all tweets containing specific keywords(ex:manchesterattack,manchester) that are … Read more How To Collect Tweets About An Event That Are Posted On Specific Date Using Python?

Tweepy Twitter Get All Tweet Replies Of Particular User

I am trying to get all replies of this particular user. So this particular user have reply_to_user_… Read more Tweepy Twitter Get All Tweet Replies Of Particular User

Having Difficulty Using Twitter Api Command Implemention In Python

I am trying to implement this into python: https://dev.twitter.com/docs/api/1.1/get/statuses/retwee… Read more Having Difficulty Using Twitter Api Command Implemention In Python

Pep8 E501: Line Too Long Error

I get the error E501: line too long from this code: header, response = client.request('https://… Read more Pep8 E501: Line Too Long Error