python-twitter
python-twitter copied to clipboard
A Python wrapper around the Twitter API.
I did all these commands, not any error : `pip install python-twitter` ` pip install -r requirements.txt` `python setup.py build` But when I do this `python setup.py install` , I...
I'm trying to set a cache for the API with a long timeout: ``` api = twitter.Api( consumer_key=CONSUMER_KEY, consumer_secret=CONSUMER_SECRET, access_token_key=ACCESS_TOKEN, access_token_secret=ACCESS_TOKEN_SECRET, sleep_on_rate_limit=True ) cache = twitter._FileCache(root_directory='/home/me/') api.SetCache(cache) api.SetCacheTimeout(60*60) # in...
i think this is related to issue #433 i am using PostUpdate to post (great library by the way) and when I posted an image smaller than 1MB (actually ~690Kb)...
when calculating tweet length, `is_url` matches some bad URLs. Inconsistent with Twitter's behavior.
``` >> from twitter.twitter_utils import is_url >> is_url('address...It') True >> is_url('address...........It') True ``` That seems to be because "it" is a TLD and has dots in front of it? Twitter...
This code doesn't work anymore: https://github.com/bear/python-twitter/blob/acd947210b12464baa10d8c05d0b5abe33b73683/twitter/api.py#L355 Error 410 (Gone): https://api.twitter.com/1.1/help/configuration.json Announced here: https://twittercommunity.com/t/retiring-the-1-1-configuration-endpoint/153319
As it stands, `GetUserRetweets` and `GetReplies` don't filter out tweets in the `GetUserTimeline` endpoint to properly only return retweets and replies, respectively. So `GetUserRetweets` returns the UserTimeline including retweets, but...
I am trying to send a direct message but it is not sending and giving error: `{'errors': [{'code': 214, 'message': "event.message_create.target.recipient_id: 'go message go' is not a valid Long"}]}` It...