barrybrianbarrios / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

How to start? #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have the next files in google app engine folder: app.yaml, cron.yaml and 
teste.py. Here's the code of teste.py:

#!/usr/bin/python
# -*- encoding: utf-8 -*-

import twitter

minha_consumer_key = '' 
minha_consumer_secret = ''

meu_oauth_token = ''
meu_oauth_token_secret = ''

api=twitter.Api(consumer_key        = minha_consumer_key,    \
                consumer_secret     = minha_consumer_secret, \
                access_token_key    = meu_oauth_token,       \
                access_token_secret = meu_oauth_token_secret)

status = api.PostUpdate('cachorro')

I've deployed the files, but the error 500 appear.
There's something wrong? There's another file to put inside google app engine 
folder?

Sorry my bad english.

Original issue reported on code.google.com by cleyt00n...@gmail.com on 21 Aug 2012 at 2:13