[google-appengine] Re: Tweepy Help

2015-12-26 Thread Adam (Cloud Platform Support)
Probably the first place to start is to learn how to create a proper App 
Engine app in Python by reading the documentation, such as the tutorial 
.

On Friday, December 25, 2015 at 4:34:31 AM UTC-5, Prasanna Mestha wrote:
>
> Hi,
> I am new to app engine and tweepy so as when i created a simple app, i 
> always end up getting errors. How can i search for tweets in app engine?
>
> import tweepy
>
> auth = tweepy.OAuthHandler('kljaYhxWqM2LBqUQdbY1X4H0V', 
> 'ANkoqZx6bx65CSDITfVeFrhSahqst4TsbBrLVZWSlSaMUaJBYQ')
> auth.set_access_token('622919352-nrH1LzNOmdn2VI62M9oZJT6dJA1GMBiZBJaypRrE', 
> 'pxr36RyGuCHaIWluqtWENnB05sNGi0u20GdyH17Xw1fQQ')
>
> api = tweepy.API(auth)
>
> public_tweets = api.home_timeline()
> for tweet in public_tweets:
> print tweet.text
>
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/46da9f3a-365b-423b-bd32-59dc1310e235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Tweepy Help

2015-12-26 Thread timh
In addition to what @Adam said, you should include what the error is rather 
than " always end up getting errors"  

T

On Friday, December 25, 2015 at 5:34:31 PM UTC+8, Prasanna Mestha wrote:
>
> Hi,
> I am new to app engine and tweepy so as when i created a simple app, i 
> always end up getting errors. How can i search for tweets in app engine?
>
> import tweepy
>
> auth = tweepy.OAuthHandler('kljaYhxWqM2LBqUQdbY1X4H0V', 
> 'ANkoqZx6bx65CSDITfVeFrhSahqst4TsbBrLVZWSlSaMUaJBYQ')
> auth.set_access_token('622919352-nrH1LzNOmdn2VI62M9oZJT6dJA1GMBiZBJaypRrE', 
> 'pxr36RyGuCHaIWluqtWENnB05sNGi0u20GdyH17Xw1fQQ')
>
> api = tweepy.API(auth)
>
> public_tweets = api.home_timeline()
> for tweet in public_tweets:
> print tweet.text
>
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8b47b39d-3357-489a-9c1f-6f02548cafb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.