[OpenSocial] Re: proxied content, does anybody use?
dudu, you shouldn't be prompting or storing usernames and passwords. Even if your intent is benign, such a situation is akin to phishing and is not good practice. Rather, you should look into 3-legged OAuth as a solution. thanks, nolybab On Aug 11, 5:20 pm, duduzerah eduardopich...@gmail.com wrote: I'm working on a opensocial app, that's run in another server. In content param of the xml, I pass the url, as the specification said. But I discover that, I can't call the javascripts methods to fetch data, because the app is in another server. Am I doing something wrong? Or proxied content can't to do these things? If no I think I lost 2 weeks working on it... Inside my opensocial application, the user do a login in another system. I would like to associate his login with his orkut id for example, to next time the user don't need to do a login again. But with proxied content, i read a lot, and can't find examples doing that.. If I would know before, I did't build a proxied content application, but on the opensocial wikis and forums, there are no detailed infomation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups OpenSocial Application Development group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---
[OpenSocial] Re: proxied content, does anybody use?
Did you take a look at gadgets.io.makeRequest? May be you want to take a look at http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest jofeux On Aug 11, 11:20 pm, duduzerah eduardopich...@gmail.com wrote: I'm working on a opensocial app, that's run in another server. In content param of the xml, I pass the url, as the specification said. But I discover that, I can't call the javascripts methods to fetch data, because the app is in another server. Am I doing something wrong? Or proxied content can't to do these things? If no I think I lost 2 weeks working on it... Inside my opensocial application, the user do a login in another system. I would like to associate his login with his orkut id for example, to next time the user don't need to do a login again. But with proxied content, i read a lot, and can't find examples doing that.. If I would know before, I did't build a proxied content application, but on the opensocial wikis and forums, there are no detailed infomation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups OpenSocial Application Development group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---
[OpenSocial] Re: proxied content, does anybody use?
I've tried data pipelining but without sucess, I still don't know if it doesn't work on proxied content or I'm doing some mistake. I'll se these makeRequest now. But, jofeux, are you sure it works on proxied content? Thanks On 12 ago, 06:05, jofeux jof...@googlemail.com wrote: Did you take a look at gadgets.io.makeRequest? May be you want to take a look athttp://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest jofeux On Aug 11, 11:20 pm, duduzerah eduardopich...@gmail.com wrote: I'm working on a opensocial app, that's run in another server. In content param of the xml, I pass the url, as the specification said. But I discover that, I can't call the javascripts methods to fetch data, because the app is in another server. Am I doing something wrong? Or proxied content can't to do these things? If no I think I lost 2 weeks working on it... Inside my opensocial application, the user do a login in another system. I would like to associate his login with his orkut id for example, to next time the user don't need to do a login again. But with proxied content, i read a lot, and can't find examples doing that.. If I would know before, I did't build a proxied content application, but on the opensocial wikis and forums, there are no detailed infomation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups OpenSocial Application Development group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---
[OpenSocial] Re: proxied content, does anybody use?
I tried with gadgets make request with the link you post, but with proxied content, it seems doesn't work.. My javascript console throws Uncaught ReferenceError: gadgets is not defined function makeNormalRequest() { var params = {}; params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT; var url = http://myurl/Opensocialservlet;; gadgets.io.makeRequest(url, response, params); }; function response(obj) { //obj.text contains the text of the page that was requested output(obj.text); }; makeNormalRequest(); On Aug 12, 10:06 am, dudu eduardopich...@gmail.com wrote: I've tried data pipelining but without sucess, I still don't know if it doesn't work on proxied content or I'm doing some mistake. I'll se these makeRequest now. But, jofeux, are you sure it works on proxied content? Thanks On 12 ago, 06:05, jofeux jof...@googlemail.com wrote: Did you take a look at gadgets.io.makeRequest? May be you want to take a look athttp://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest jofeux On Aug 11, 11:20 pm, duduzerah eduardopich...@gmail.com wrote: I'm working on a opensocial app, that's run in another server. In content param of the xml, I pass the url, as the specification said. But I discover that, I can't call the javascripts methods to fetch data, because the app is in another server. Am I doing something wrong? Or proxied content can't to do these things? If no I think I lost 2 weeks working on it... Inside my opensocial application, the user do a login in another system. I would like to associate his login with his orkut id for example, to next time the user don't need to do a login again. But with proxied content, i read a lot, and can't find examples doing that.. If I would know before, I did't build a proxied content application, but on the opensocial wikis and forums, there are no detailed infomation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups OpenSocial Application Development group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---