tweepy

tweepy documentation

Hi everybody I just began working on a little twitter-app using tweepy. is there any kind of useful (and complete) documentation for tweepy? I googled like hell but didn't find anything. greetings, Andy ...

tweepy stream.filter() method doesn't work properly

Hi there i've got some problems with the tweepy api. I'm just tryin to write a little app that gets me a stream of statuses of one user (ore more), but one would be fine to start with ;-) now: my code is like that: def main(): config = ConfigParser.ConfigParser() config.read('twitter.cfg') username = config....

How do I extend a python module? (python-twitter)

What are the best practices for extending a python module -- in this case I want to extend python-twitter by adding new methods to the base API class. I've looked at tweepy, and I like that as well, I just find python-twitter easier to understand and extend with the functionality I want. I have the methods written already, I'm just try...

Tweepy + App Engine Example OAuth Help

Hi I am trying to follow the Tweepy App Engine OAuth Example app in my app but am running into trouble. Here is a link to the tweepy example code: http://github.com/joshthecoder/tweepy-examples Specifically look at: http://github.com/joshthecoder/tweepy-examples/blob/master/appengine/oauth_example/handlers.py Here is the relevant snip...

Using xAuth from python using tweepy

I am trying to write a twitter client application in python. I would like to use xAuth for authentication. My choice on the library is tweepy, because it seems that it knows everything I need. Here is my problem: >>> import tweepy >>> auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) >>> auth.get_xauth_access_token('username', ...

successful using twitter login on gae, but how to show user info ..

i use http://github.com/joshthecoder/tweepy-examples to twitter user login on gae, and successful now ,but ,how to show user info ? i have the 'auth' object ,and what is the document about auth method and property, auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) thanks ...

Given handle and tweet, find tweet ID

Hello Everyone, Sorry if this is a noob question, but I was looking into the twitter api, using tweepy for python, and noticed that a lot of the functions require the tweet id of a tweet. If I know a twitter handle and the tweet by that handle how can i use the twitter api to find the tweet id associated with that specific tweet? ...

Tweepy API: how to get a user's id from a status SearchResult object?

I'm trying to write a script to follow people on twitter. The tweepy API seems pretty good, but I'm running into some unintuitive behavior related to the mapping from user's ids to their screen names. In [1]: import tweepy In [2]: api = tweepy.API() # get an arbitrary tweet In [3]: tweet = api.search("anything")[0] In [5]: tweet.text...

Using tweepy library with Python in identi.ca

I'm using the tweepy library to make a small news application for my desktop in Python. As I've seen in the main web page: http://github.com/joshthecoder/tweepy it has support for identi.ca but I can't manage to log in correctly. To authenticate I do: auth = tweepy.BasicAuthHandler(username, password) api = tweepy.API(host = 'identi.ca/...

Identi.ca streaming api, libraries?

Has identi.ca a streaming API like stream.twitter.com? If it has, is there any Python library to implement that? Now I'm using tweepy, but I doesn't seem to have identi.ca support for streaming API. Thank you. ...

Python defaults and using tweepy api

I am attempting to use the tweepy api to make a twitter function and I have two issues. I have little experience with the terminal and Python in general. 1) It installed properly with Python 2.6, however I can't use it or install it with Python 3.1. When I attempt to install the module in 3.1 it gives me an error that there is no modu...

urllib.request in Python 2.7

I can use urllib.request module with Python 3.1. But when I execute the same program using Python 2.7, an error comes along the lines of; AttributeError: 'module' object has no attribute 'request'. I believe this error is because theres no request module in urllib for Python 2.7. Because I need to use tweepy i'll have to stick with Py...

(Python) How can I print a varible to a Tweepy "API.update_status()" command?

Hello there! I am trying to add some information to a python script that posts the information to twitter. Here is the code so far: #!/usr/bin/python import os import subprocess import psutil import sys import tweepy #---------------------------------------- # Gives a human-readable uptime string def uptime(): try: f = open( "/pr...

Tweepy twitter oauth authentication not returning oauth_verifier

I am using a python library called "tweepy" for twitter. When I try to authorize the user, twitter is supposed to redirect to a callback url with auth_token and oauth_verifier. I am getting only auth_token in the url. Anyone else had the same problem? ...