python-twitter

Django and python-twitter error

Hi guys, im trying to send my title post to twitter, in my local machine is working great!!!, but in remote i have this error from the snippet file: AttributeError: 'module' object has no attribute 'Api' im Using python-twitter and this snippet, i dont know why the error, i tested the python-twitter with commands like import twitter a...

How to set User-Agent in python-twitter ?

Hi, i'm writing a small script to tweet messages from the monitoring systems. The only issue i ran into so far is that i can't set the User-Agent correctly, all tweets show up as "from API" which ain't a huge deal but i wonder what I'm doing wrong. An example to reproduce this behavior: import sys import twitter USERNAME="twitteruser...

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...

Using django-syncr with twitter

I wanted to add twitter feed to my application. So I've downloaded python-twitter (with python-oauth) and django-syncr. Installed everything and what now ? In my main view I wanted to perform Twitter synchronisation. So looking into packages source and documentation I've figured this order : t = TwitterSyncr('name', 'pass') #: create Tw...