[google-appengine] Re: Configuring Friend Connect
Hi Rajiv, here's how I did it... I copied the two files in a directory called "static" (where all my CSS and images live). Then I'd added the following lines to app.yaml: - url: /rpc_relay.html static_files: static/rpc_relay.html upload: static/rpc_relay.html - url: /canvas.html static_files: static/canvas.html upload: static/canvas.html I'm not sure if you can omit the upload directive. But the relevant part is to point the urls to the files you've downloaded from the friend connect page. Hope that helps, Andi On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> wrote: > > am trying to use friend connect for my app engine application. I am > told to place 2 .html files in the app's home url i.e > http://.appspot.com/.html. > > I tried a few options in app.yaml but they all result in 404-Not > Found. > > any suggestions? > > Cheers! > Rajiv > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
right i've configured for my app but what do you think of the Friend Connect? I think an appengine website need not use it... On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht <[EMAIL PROTECTED]>wrote: > > Hi Rajiv, > > here's how I did it... I copied the two files in a directory called > "static" (where all my CSS and images live). Then I'd added the > following lines to app.yaml: > > - url: /rpc_relay.html > static_files: static/rpc_relay.html > upload: static/rpc_relay.html > > - url: /canvas.html > static_files: static/canvas.html > upload: static/canvas.html > > I'm not sure if you can omit the upload directive. But the relevant > part is to point the urls to the files you've downloaded from the > friend connect page. > > Hope that helps, > > Andi > > On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> wrote: > > > > am trying to use friend connect for my app engine application. I am > > told to place 2 .html files in the app's home url i.e > > http://.appspot.com/.html. > > > > I tried a few options in app.yaml but they all result in 404-Not > > Found. > > > > any suggestions? > > > > Cheers! > > Rajiv > > > > > > > > > > > -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
On Thu, Dec 4, 2008 at 10:50 AM, kang <[EMAIL PROTECTED]> wrote: > right > i've configured for my app > but what do you think of the Friend Connect? I think an appengine website > need not use it... Why not? Could be a nice extra for some applications... But it would be great to have an easy option to re-use an login on an appengine website for Friend Connect (any hints? maybe I've just missed something...) > > On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht <[EMAIL PROTECTED]> > wrote: >> >> Hi Rajiv, >> >> here's how I did it... I copied the two files in a directory called >> "static" (where all my CSS and images live). Then I'd added the >> following lines to app.yaml: >> >> - url: /rpc_relay.html >> static_files: static/rpc_relay.html >> upload: static/rpc_relay.html >> >> - url: /canvas.html >> static_files: static/canvas.html >> upload: static/canvas.html >> >> I'm not sure if you can omit the upload directive. But the relevant >> part is to point the urls to the files you've downloaded from the >> friend connect page. >> >> Hope that helps, >> >> Andi >> >> On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> wrote: >> > >> > am trying to use friend connect for my app engine application. I am >> > told to place 2 .html files in the app's home url i.e >> > http://.appspot.com/.html. >> > >> > I tried a few options in app.yaml but they all result in 404-Not >> > Found. >> > >> > any suggestions? >> > >> > Cheers! >> > Rajiv >> > >> > > >> > >> >> > > > > -- > Stay hungry,Stay foolish. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
GAE itself has google account model, and user can login.. but if they want to post through FriendConnect ,they need to login for the second time it's not a good user experience On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht <[EMAIL PROTECTED]>wrote: > > On Thu, Dec 4, 2008 at 10:50 AM, kang <[EMAIL PROTECTED]> wrote: > > right > > i've configured for my app > > but what do you think of the Friend Connect? I think an appengine website > > need not use it... > > Why not? Could be a nice extra for some applications... But it would > be great to have an easy option to re-use an login on an appengine > website for Friend Connect (any hints? maybe I've just missed > something...) > > > > > On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht < > [EMAIL PROTECTED]> > > wrote: > >> > >> Hi Rajiv, > >> > >> here's how I did it... I copied the two files in a directory called > >> "static" (where all my CSS and images live). Then I'd added the > >> following lines to app.yaml: > >> > >> - url: /rpc_relay.html > >> static_files: static/rpc_relay.html > >> upload: static/rpc_relay.html > >> > >> - url: /canvas.html > >> static_files: static/canvas.html > >> upload: static/canvas.html > >> > >> I'm not sure if you can omit the upload directive. But the relevant > >> part is to point the urls to the files you've downloaded from the > >> friend connect page. > >> > >> Hope that helps, > >> > >> Andi > >> > >> On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> wrote: > >> > > >> > am trying to use friend connect for my app engine application. I am > >> > told to place 2 .html files in the app's home url i.e > >> > http://.appspot.com/.html. > >> > > >> > I tried a few options in app.yaml but they all result in 404-Not > >> > Found. > >> > > >> > any suggestions? > >> > > >> > Cheers! > >> > Rajiv > >> > > >> > > > >> > > >> > >> > > > > > > > > -- > > Stay hungry,Stay foolish. > > > > > > > > > > > -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
On Thu, Dec 4, 2008 at 1:24 PM, kang <[EMAIL PROTECTED]> wrote: > GAE itself has google account model, and user can login.. but if they want > to post through FriendConnect ,they need to login for the second time > it's not a good user experience You're right, I think it's very confusing or maybe even annoying if a user has to login two times on two different Googlish-looking login pages... And from a developer's point of view it would be much easier to spice up an already existing appengine application with some social features if one could just use a Python API to Friend Connect with an user object already present within appengine. [just dreaming... ;-)] > > On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht <[EMAIL PROTECTED]> > wrote: >> >> On Thu, Dec 4, 2008 at 10:50 AM, kang <[EMAIL PROTECTED]> wrote: >> > right >> > i've configured for my app >> > but what do you think of the Friend Connect? I think an appengine >> > website >> > need not use it... >> >> Why not? Could be a nice extra for some applications... But it would >> be great to have an easy option to re-use an login on an appengine >> website for Friend Connect (any hints? maybe I've just missed >> something...) >> >> > >> > On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht >> > <[EMAIL PROTECTED]> >> > wrote: >> >> >> >> Hi Rajiv, >> >> >> >> here's how I did it... I copied the two files in a directory called >> >> "static" (where all my CSS and images live). Then I'd added the >> >> following lines to app.yaml: >> >> >> >> - url: /rpc_relay.html >> >> static_files: static/rpc_relay.html >> >> upload: static/rpc_relay.html >> >> >> >> - url: /canvas.html >> >> static_files: static/canvas.html >> >> upload: static/canvas.html >> >> >> >> I'm not sure if you can omit the upload directive. But the relevant >> >> part is to point the urls to the files you've downloaded from the >> >> friend connect page. >> >> >> >> Hope that helps, >> >> >> >> Andi >> >> >> >> On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> wrote: >> >> > >> >> > am trying to use friend connect for my app engine application. I am >> >> > told to place 2 .html files in the app's home url i.e >> >> > http://.appspot.com/.html. >> >> > >> >> > I tried a few options in app.yaml but they all result in 404-Not >> >> > Found. >> >> > >> >> > any suggestions? >> >> > >> >> > Cheers! >> >> > Rajiv >> >> > >> >> > > >> >> > >> >> >> >> >> > >> > >> > >> > -- >> > Stay hungry,Stay foolish. >> > >> > > >> > >> >> > > > > -- > Stay hungry,Stay foolish. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
Is it possible to fetch user information after user login friend connect? On Dec 4, 7:57 am, "Andi Albrecht" <[EMAIL PROTECTED]> wrote: > On Thu, Dec 4, 2008 at 1:24 PM, kang <[EMAIL PROTECTED]> wrote: > > GAE itself has google account model, and user can login.. but if they want > > to post through FriendConnect ,they need to login for the second time > > it's not a good user experience > > You're right, I think it's very confusing or maybe even annoying if a > user has to login two times on two different Googlish-looking login > pages... > > And from a developer's point of view it would be much easier to spice > up an already existing appengine application with some social features > if one could just use a Python API toFriendConnect with an user > object already present within appengine. [just dreaming... ;-)] > > > > > On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht <[EMAIL PROTECTED]> > > wrote: > > >> On Thu, Dec 4, 2008 at 10:50 AM, kang <[EMAIL PROTECTED]> wrote: > >> > right > >> > i've configured for my app > >> > but what do you think of theFriendConnect? I think an appengine > >> > website > >> > need not use it... > > >> Why not? Could be a nice extra for some applications... But it would > >> be great to have an easy option to re-use an login on an appengine > >> website forFriendConnect (any hints? maybe I've just missed > >> something...) > > >> > On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht > >> > <[EMAIL PROTECTED]> > >> > wrote: > > >> >> Hi Rajiv, > > >> >> here's how I did it... I copied the two files in a directory called > >> >> "static" (where all my CSS and images live). Then I'd added the > >> >> following lines to app.yaml: > > >> >> - url: /rpc_relay.html > >> >> static_files: static/rpc_relay.html > >> >> upload: static/rpc_relay.html > > >> >> - url: /canvas.html > >> >> static_files: static/canvas.html > >> >> upload: static/canvas.html > > >> >> I'm not sure if you can omit the upload directive. But the relevant > >> >> part is to point the urls to the files you've downloaded from the > >> >>friendconnect page. > > >> >> Hope that helps, > > >> >> Andi > > >> >> On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> wrote: > > >> >> > am trying to usefriendconnect for my app engine application. I am > >> >> > told to place 2 .html files in the app's home url i.e > >> >> > http://.appspot.com/.html. > > >> >> > I tried a few options in app.yaml but they all result in 404-Not > >> >> > Found. > > >> >> > any suggestions? > > >> >> > Cheers! > >> >> > Rajiv > > >> > -- > >> > Stay hungry,Stay foolish. > > > -- > > Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
I have not seen any api from google friend connect On Tue, Dec 9, 2008 at 5:06 AM, yejun <[EMAIL PROTECTED]> wrote: > > Is it possible to fetch user information after user login friend > connect? > > On Dec 4, 7:57 am, "Andi Albrecht" <[EMAIL PROTECTED]> > wrote: > > On Thu, Dec 4, 2008 at 1:24 PM, kang <[EMAIL PROTECTED]> wrote: > > > GAE itself has google account model, and user can login.. but if they > want > > > to post through FriendConnect ,they need to login for the second > time > > > it's not a good user experience > > > > You're right, I think it's very confusing or maybe even annoying if a > > user has to login two times on two different Googlish-looking login > > pages... > > > > And from a developer's point of view it would be much easier to spice > > up an already existing appengine application with some social features > > if one could just use a Python API toFriendConnect with an user > > object already present within appengine. [just dreaming... ;-)] > > > > > > > > > On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht < > [EMAIL PROTECTED]> > > > wrote: > > > > >> On Thu, Dec 4, 2008 at 10:50 AM, kang <[EMAIL PROTECTED]> wrote: > > >> > right > > >> > i've configured for my app > > >> > but what do you think of theFriendConnect? I think an appengine > > >> > website > > >> > need not use it... > > > > >> Why not? Could be a nice extra for some applications... But it would > > >> be great to have an easy option to re-use an login on an appengine > > >> website forFriendConnect (any hints? maybe I've just missed > > >> something...) > > > > >> > On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht > > >> > <[EMAIL PROTECTED]> > > >> > wrote: > > > > >> >> Hi Rajiv, > > > > >> >> here's how I did it... I copied the two files in a directory called > > >> >> "static" (where all my CSS and images live). Then I'd added the > > >> >> following lines to app.yaml: > > > > >> >> - url: /rpc_relay.html > > >> >> static_files: static/rpc_relay.html > > >> >> upload: static/rpc_relay.html > > > > >> >> - url: /canvas.html > > >> >> static_files: static/canvas.html > > >> >> upload: static/canvas.html > > > > >> >> I'm not sure if you can omit the upload directive. But the relevant > > >> >> part is to point the urls to the files you've downloaded from the > > >> >>friendconnect page. > > > > >> >> Hope that helps, > > > > >> >> Andi > > > > >> >> On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R <[EMAIL PROTECTED]> > wrote: > > > > >> >> > am trying to usefriendconnect for my app engine application. I am > > >> >> > told to place 2 .html files in the app's home url i.e > > >> >> > http://.appspot.com/.html. > > > > >> >> > I tried a few options in app.yaml but they all result in 404-Not > > >> >> > Found. > > > > >> >> > any suggestions? > > > > >> >> > Cheers! > > >> >> > Rajiv > > > > >> > -- > > >> > Stay hungry,Stay foolish. > > > > > -- > > > Stay hungry,Stay foolish. > > > -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
On Dec 9, 12:56 am, kang <[EMAIL PROTECTED]> wrote: > I have not seen any api from google friend connect > See http://www.opensocial.org/Home --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
Hey Duncan, Thanks for the pointer. I've made some progress, but I'm wondering where to send my RPCs in order to connect with friendconnect? What should be the value of the 'url' variable below? url = '???' params = { 'userId': '@me', 'groupId': '@self', } rpc_body = { 'method': 'people.get', 'params': params, 'id': opensocial.request.generate_uuid(url), } http_request = opensocial.http.Request(url, method='POST', post_body=rpc_body) fetcher = opensocial.http.get_default_urlfetch() http_response = fetcher.fetch(http_request) if http_response.status == httplib.OK: content = http_response.content else: content = 'no good' On Dec 9, 1:09 am, Duncan wrote: > On Dec 9, 12:56 am, kang wrote:> I have not seen any > api from google friend connect > > Seehttp://www.opensocial.org/Home --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
i tried the code, but it don't work on my app at http://app21zh.appspot.com .in friend connect in the process to setup the site, it still reported can't find the 2 files, which i had place all over including static folder. i need more instruction.TIA. On Dec 4 2008, 6:28 am, "Andi Albrecht" wrote: > Hi Rajiv, > > here's how I did it... I copied the two files in a directory called > "static" (where all my CSS and images live). Then I'd added the > following lines to app.yaml: > > - url: /rpc_relay.html > static_files: static/rpc_relay.html > upload: static/rpc_relay.html > > - url: /canvas.html > static_files: static/canvas.html > upload: static/canvas.html > > I'm not sure if you can omit the upload directive. But the relevant > part is to point the urls to the files you've downloaded from the > friend connect page. > > Hope that helps, > > AndiOn Wed, Dec 3, 2008 at 8:37 PM, Rajiv R wrote: > > > am trying to use friend connect for my app engine application. I am > > told to place 2 .html files in the app's home url i.e > > http://.appspot.com/.html. > > > I tried a few options in app.yaml but they all result in 404-Not > > Found. > > > any suggestions? > > > Cheers! > > Rajiv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
Can you post your app.yaml and the exact location you put the files? On Jan 3, 9:11 pm, benzrad wrote: > i tried the code, but it don't work on my app athttp://app21zh.appspot.com > .in friend connect in the process to setup the site, it still reported > can't find the 2 files, which i had place all over including static > folder. > i need more instruction.TIA. > > On Dec 4 2008, 6:28 am, "Andi Albrecht" > wrote: > > > Hi Rajiv, > > > here's how I did it... I copied the two files in a directory called > > "static" (where all my CSS and images live). Then I'd added the > > following lines to app.yaml: > > > - url: /rpc_relay.html > > static_files: static/rpc_relay.html > > upload: static/rpc_relay.html > > > - url: /canvas.html > > static_files: static/canvas.html > > upload: static/canvas.html > > > I'm not sure if you can omit the upload directive. But the relevant > > part is to point the urls to the files you've downloaded from the > > friend connect page. > > > Hope that helps, > > > AndiOn Wed, Dec 3, 2008 at 8:37 PM, Rajiv R wrote: > > > > am trying to use friend connect for my app engine application. I am > > > told to place 2 .html files in the app's home url i.e > > > http://.appspot.com/.html. > > > > I tried a few options in app.yaml but they all result in 404-Not > > > Found. > > > > any suggestions? > > > > Cheers! > > > Rajiv > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
app.yaml: application: app21zh version: 1 runtime: python api_version: 1 handlers: - url: /static static_dir: static - url: /img static_dir: img - url: .* script: main.py file structure: -img -skins --default -static TIA. hope i can get a answer. btw, do u think if google soon will add native support of friend connect with its app engine, which render my endeavor to add friend connect to my appspot a vain? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
could u help me, with what u asked? TIA. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
thx. i found ur answer on ur blog, and its works well. too nice! now i hope i have a script to switch different friend connect script according visiting url. u know, my appspot with custom domain mapping blocked in China surveillance, while native appspot, like http://app21zh.appspot.com , accessible in China. i had setup both domain, http://forum.be21zh.org , and http://app21zh.appspot.com with my google friend connect. i hope my appspot can returned respectively according visiting url. thx again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---