[web2py] Re: Embed Tweets

2014-10-09 Thread Nate
Thanks Massimo
My nose has been too close to the ground. The code which led me in that 
direction was adapted from -
web2py Complete Reference Manual, 6th Edition. I think changes in Twitter's 
login has invalidated the snippets in Chapter 14. Thanks for the heads up 
I'll give the embedded timeline a shot.Regards 
On Thursday, October 9, 2014 8:52:53 AM UTC+10, Massimo Di Pierro wrote:
>
> why server side when you can do it client side?
> https://dev.twitter.com/web/embedded-timelines
>
> On Monday, 6 October 2014 22:48:51 UTC-5, Nate wrote:
>>
>> How do I embed my tweets when I create a page in web2py?
>>
>> Many Thanks
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Embed Tweets

2014-10-08 Thread Massimo Di Pierro
why server side when you can do it client side?
https://dev.twitter.com/web/embedded-timelines

On Monday, 6 October 2014 22:48:51 UTC-5, Nate wrote:
>
> How do I embed my tweets when I create a page in web2py?
>
> Many Thanks
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Embed Tweets

2014-10-08 Thread Nate
I've managed to print the timeline query to the console. Any suggestions 
how I should proceed?

def twitter():
import twitter
CON_SEC_KEY = 'xx' 
CON_SEC = 'xxx'
TOKEN = 'xxx'
TOKEN_KEY = ''

my_auth = twitter.OAuth(TOKEN,TOKEN_KEY,CON_SEC,CON_SEC_KEY)
twit = twitter.Twitter(auth=my_auth)
t = twit.statuses.home_timeline()
print t

On Tuesday, October 7, 2014 1:48:51 PM UTC+10, Nate wrote:
>
> How do I embed my tweets when I create a page in web2py?
>
> Many Thanks
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.