Is there a Twitter API that would allow me to update a Twitt via
Django? If so would you be kind enough to send me the link?
_Mario
Not meaning to be too terribly sarcastic, but have you tried using
Google to search for "python twitter api"? The results, I promise,
will be satisfying.
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Not meaning to be too terribly sarcastic, but have you tried using
On Dec 27, 2009, at 12:24 PM, Mario wrote:
> Is there a Twitter API that would allow me to update a Twitt via
> Django? If so would you be kind enough to send me the link?
Google to search for "python twitter api"? The results, I promise,
will be satisfying.
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Thank you for replying. Yes, I reviewed python twitter API, but the
model or the app is designed to pull down the "twitt". I would like to
upload a twitt via Django in lieu of using the Twitter front-end. Any
thoughts or suggestions?
_Mario
I've used Twyt[1] for both command-line posting and for API usage. It's
all pure python and AFAIK doesn't have any dependencies outside of stock
python. Also, (nearly?) all the API is supported, so you can do other
things like delete posts, list, block users, etc. It's all pretty
straight-forward and well documented.
-tim
Perhaps I'm misunderstanding your issue, but the code running in
Django is just Python. There's nothing magic about it. If you want
your view functions to access Twitter via a Python Twitter API, it's
no problem to do so; you can also wrap your calls to Twitter inside of
a Model class, if that's a better fit.
I did a small unit testing and could see the results immediately, but
I could not create or update a twitt via Django. As I pointed out in
my early email, I want to create/update/delete a twitt in django in
lieu of the Twitter front-end.
I guess my choices at this point in time are either:
1. Twyt
2. Write a wrapper within the model.
Thanks again. _Mario
_Mario
Every reasonable Twitter API I know of (including the Python ones)
allow the full range of Twitter operations, including creating,
deleting and reading tweets, so you shouldn't need anything more
exotic to do the job.
api.PostUpdate(username, password, 'I love python-twitter!')
By the way, updating a tweet is impossible, as Twitter doesn't support
that. You can delete and insert a new one though.
On Dec 27, 10:15 pm, Mario <goober20...@gmail.com> wrote:
> Thank you for you suggestions. Btw, I created a mocked-up app and was
> testing the functionality of the python-twitter. I read the docs as
> posted athttp://media.jesselegg.com/syncr/syncr.app.tweet.html.