[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: End points giving error when used with objectify ref<> and key<> fields

2015-12-26 Thread Adam (Cloud Platform Support)
This seems like a question that would be better posted to Stack Overflow, 
rather than a discussion post. The google-appengine group is intended more 
for general discussion rather than 1-on-1 support assistance. Please see 
the main Community Support page 
 for a list of the tags we 
monitor.

This is an issue that comes up commonly, because Endpoints doesn't support 
arbitrary objects, however there are ways to work around this. Some 
discussions and possible solutions to your case can be found here 

 
and here 

. 

On Saturday, December 26, 2015 at 2:42:17 AM UTC-5, Sheena Arora wrote:
>
> Hi,
>
> I am trying to create enpoints (backend APIs) for a java class using 
> objectify to connect with GAE. When I try to access the api using api 
> explorer , I get the error "java.lang.IllegalArgumentException: 
> Parameterized type com.googlecode.objectify.Ref<> not supported."
>
> I have an entity which is having fields as ref<> of other entities.At this 
> point, I can not change the design of the class.
>
> 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/67604d6a-545f-4798-95d0-a4404ec765ad%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.