IRC Log for #OpenSocial on 2008-07-21
Timestamps are in UTC.
- [00:05:30] * shrink (n=shrink@210.212.5.85) Quit (Read error: 113 (No route to host))
- [00:17:21] * besquared (n=Josh@c-71-202-152-68.hsd1.ca.comcast.net) Quit ()
- [00:40:10] * BobChao (n=cctw@124-8-1-100.dynamic.tfn.net.tw) Quit ("Ex-Chat")
- [00:48:14] * termie (i=andy@pdpc/supporter/sustaining/termie) Quit (niven.freenode.net irc.freenode.net)
- [00:48:14] * allycat (i=ally@chengjeng.iis.sinica.edu.tw) Quit (niven.freenode.net irc.freenode.net)
- [00:51:43] * besquared (n=Josh@c-71-202-152-68.hsd1.ca.comcast.net) has joined #opensocial
- [00:53:16] * allycat (i=ally@chengjeng.iis.sinica.edu.tw) has joined #opensocial
- [00:53:29] * termie (i=andy@pdpc/supporter/sustaining/termie) has joined #opensocial
- [01:05:56] * KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) has joined #opensocial
- [01:07:46] * ggapol (n=ggapol@cebu.exist.com) has joined #opensocial
- [01:46:48] * ggapol_ (n=ggapol@cebu.exist.com) has joined #opensocial
- [01:55:20] * jerobi (n=jerobi@nat3.slide.com) Quit (Read error: 113 (No route to host))
- [02:13:40] * ggapol (n=ggapol@cebu.exist.com) Quit (Read error: 110 (Connection timed out))
- [02:26:21] * Infinito- (n=yingyang@li6-217.members.linode.com) has joined #opensocial
- [02:29:55] * ggapol_ (n=ggapol@cebu.exist.com) Quit ("Leaving")
- [02:30:02] * ggapol (n=ggapol@cebu.exist.com) has joined #opensocial
- [02:32:51] * warreng (n=warren@c-76-114-207-182.hsd1.va.comcast.net) has joined #opensocial
- [02:48:07] * Infinito- (n=yingyang@li6-217.members.linode.com) Quit ("Leaving")
- [02:49:44] * barbolo_ (n=barbolo@189-18-49-224.dsl.telesp.net.br) Quit (Remote closed the connection)
- [02:52:11] * suhail (n=suhaildo@c-24-7-65-54.hsd1.ca.comcast.net) has joined #opensocial
- [03:01:38] * desu is now known as desudesu
- [03:20:43] * desudesu is now known as desu
- [03:30:21] * desu is now known as desudesu
- [03:30:35] * desudesu is now known as desu
- [03:37:43] * desu is now known as desudesu
- [04:31:26] * desudesu is now known as desu
- [04:48:36] * d3vilking (n=root@203.200.5.131) has joined #opensocial
- [04:48:41] * d3vilking (n=root@203.200.5.131) has left #opensocial
- [05:01:40] * besquared (n=Josh@c-71-202-152-68.hsd1.ca.comcast.net) Quit ()
- [05:12:26] * desu is now known as desudesu
- [05:14:00] * desudesu is now known as desu
- [05:22:34] * charlieville (n=charliev@adsl-75-18-223-187.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [05:23:57] <rf__>
anyone know if oauth signatures work for POST makerequests?
- [05:24:23] <rf__>
every time we add params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED;
- [05:24:23] <rf__>
the post stops working
- [05:24:32] <rf__>
(works fine for gets, though)
- [05:41:02] <suhail>
rf__: yes it does.
- [05:41:11] * desu is now known as desudesu
- [05:41:22] <suhail>
rf__: check out: http://code.google.com/p/opensocial-framework/downloads/list
- [05:42:29] * desudesu is now known as desu
- [05:51:04] * JoelS (n=JSeligst@c-76-102-163-139.hsd1.ca.comcast.net) has joined #opensocial
- [05:51:28] * JSeligstein (n=JSeligst@c-76-102-163-139.hsd1.ca.comcast.net) Quit (Read error: 104 (Connection reset by peer))
- [06:11:20] * desu is now known as desudesu
- [06:12:49] * warreng (n=warren@c-76-114-207-182.hsd1.va.comcast.net) Quit ()
- [06:19:44] * charlieville (n=charliev@adsl-75-18-223-187.dsl.pltn13.sbcglobal.net) Quit ()
- [06:36:09] * jotto (n=jotto-ir@76.29.39.153) Quit ()
- [06:38:11] <rf__>
thanks, suhail, i'll check it out
- [06:40:09] <rf__>
we're running into issues with utf encoding over get URL's. i think i read about some weird issues with utf-8 encoding on url parameters (we have tried doing an encodeURIComponent before passing the data array into gadgets.io.encodeValues), but things aren't working out quite right.
- [06:42:04] * shrink (n=shrink@210.212.5.85) has joined #opensocial
- [07:02:41] <rf__>
yo suhail. so, i looked through your framework (nice job, btw!)... but i'm not really seeing anything different than what we're doing:
- [07:02:41] <rf__>
- [07:02:41] <rf__>
url = "myurl";
- [07:02:41] <rf__>
data = {};
- [07:02:41] <rf__>
params = {};
- [07:02:43] <rf__>
- [07:02:45] <rf__>
params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST;
- [07:02:47] <rf__>
params[gadgets.io.RequestParameters.POST_DATA] = data;
- [07:02:49] <rf__>
params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT;
- [07:02:52] <rf__>
- [07:02:53] <rf__>
gadgets.io.makeRequest(url, function (response) { alert(response.text); }, params);
- [07:03:13] <rf__>
that works. but th emoment we uncomment the AUTHORIZATION = SIGNED. we start getting back an undefined response, and the post is never made to our server
- [07:03:24] <rf__>
but if we switch to a GET, it works fine with the signature
- [07:03:56] <suhail>
Are you actually using OAuth?
- [07:04:08] <rf__>
yes
- [07:04:41] <rf__>
in fact, the signing works fine, except with multi-byte chars. which is where we realized there's probably an encoding issue somewhere
- [07:04:44] <suhail>
Perhaps doing a POST makes you parse the params in the request a bit different
- [07:04:49] <suhail>
You should probably check that.
- [07:05:18] <rf__>
hrm, interesting. ok, i'll model the params exactly after your framework.
- [07:05:46] <suhail>
If it's a multi-byte issue, you may need to account for that manually--there's a lot of fail in OpenSocial =)
- [07:06:00] <suhail>
Trust your own knowledge more here =)
- [07:06:09] <rf__>
i was afraid you were going to say that =(
- [07:06:14] <suhail>
;)
- [07:06:22] <suhail>
Why do you think I made a wrapper framework?
- [07:07:09] <suhail>
btw, thanks for the complements--it's been far too long--I should've released it ages ago
- [07:07:15] <suhail>
feel free to spread it around
- [07:09:39] <rf__>
will do. really should get Orkut to post it. it would be helpful to a lot of people, probably
- [07:09:49] <rf__>
anyhow, no luck with:
- [07:09:49] <rf__>
params = { METHOD : 'POST', CONTENT_TYPE : gadgets.io.ContentType.TEXT, POST_DATA : data, AUTHORIZATION : gadgets.io.AuthorizationType.SIGNED };
- [07:10:03] <rf__>
hrm, maybe contenttype... i see you default to JSON in your code. i'll try switching
- [07:13:34] <rf__>
ok, for the record. it was that in my cut down example, i wasn't doing a gadgets.io.encodeValues on data. so, i am getting succesful posts with a sig now. and somewhere in the orig code, the data must need be formed differently than i was doing for the GET
- [07:13:37] <rf__>
anyhow, thanks for the help
- [07:19:05] <suhail>
rf__: should've used my framework :P
- [07:19:34] <suhail>
encodedParams = gadgets.io.encodeValues(params); // Encode params to form correct URL
- [07:20:12] <suhail>
jk man
- [07:21:53] <rf__>
yeah yeah... haha. =P
- [07:22:22] <rf__>
seriously, thanks though. reading through your framework helped me realize what i was doing wrong.
- [08:04:22] * shrink (n=shrink@210.212.5.85) Quit (Remote closed the connection)
- [08:10:19] * desudesu is now known as desu
- [08:18:26] * ggapol_ (n=ggapol@cebu.exist.com) has joined #opensocial
- [08:19:53] * kriox (n=kriox@c934d11b.virtua.com.br) has joined #opensocial
- [08:19:59] <kriox>
hi
- [08:35:31] * ggapol (n=ggapol@cebu.exist.com) Quit (Read error: 110 (Connection timed out))
- [08:42:10] * ggapol_ (n=ggapol@cebu.exist.com) Quit ("Leaving")
- [08:43:47] * ggapol (n=ggapol@cebu.exist.com) has joined #opensocial
- [09:07:19] * kriox (n=kriox@c934d11b.virtua.com.br) Quit ()
- [09:11:27] * desu is now known as desudesu
- [10:00:19] * desudesu is now known as desu
- [10:16:08] * shrink (n=shrink@210.212.5.85) has joined #opensocial
- [10:21:08] * ss_0009 (i=a48ff021@gateway/web/ajax/mibbit.com/x-b78594c95463703f) has joined #opensocial
- [10:50:39] * desu is now known as desudesu
- [10:52:00] * ss_0009 (i=a48ff021@gateway/web/ajax/mibbit.com/x-b78594c95463703f) Quit ("http://www.mibbit.com ajax IRC Client")
- [10:52:03] * desudesu is now known as desu
- [10:55:22] * danieljohnlewis (n=danieljo@82.46.89.37) has joined #opensocial
- [11:01:17] * desu is now known as desudesu
- [11:01:57] * desudesu is now known as desu
- [11:21:08] * shrink (n=shrink@210.212.5.85) Quit (Remote closed the connection)
- [11:24:41] * desu is now known as desudesu
- [11:28:25] * desudesu is now known as desu
- [11:35:23] * MrTopf (i=hidden-u@oecher.info) has joined #opensocial
- [11:42:33] * MrTopf (i=hidden-u@oecher.info) Quit ("deconstructing...")
- [11:42:39] * MrTopf (i=hidden-u@oecher.info) has joined #opensocial
- [11:56:03] * d3vilking (n=root@203.200.5.131) has joined #opensocial
- [11:56:08] * d3vilking (n=root@203.200.5.131) has left #opensocial
- [12:26:23] * shrink (n=shrink@210.212.5.85) has joined #opensocial
- [12:34:26] * danbri (n=danbri@ip565f6edb.direct-adsl.nl) has joined #OpenSocial
- [12:37:42] * MacTed (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) Quit ()
- [12:54:06] * ggapol (n=ggapol@cebu.exist.com) Quit (Read error: 110 (Connection timed out))
- [12:57:24] * fogbank (n=foggy@88-149-171-150.static.ngi.it) has joined #opensocial
- [13:20:27] * barbolo (n=barbolo@marconi.lme.usp.br) has joined #opensocial
- [13:24:05] * desu is now known as desudesu
- [13:34:15] * Munkle (n=mzlee@fw.arb.zattoo.com) has joined #opensocial
- [13:37:44] * MacTed (n=Thud@63.119.36.36) has joined #OpenSocial
- [13:37:46] * warreng (n=warren@c-76-114-207-182.hsd1.va.comcast.net) has joined #opensocial
- [13:42:07] <barbolo>
Has anyone had this javascript error: opensocial.DataRequest.PersonId is undefined
- [13:42:40] <barbolo>
I'm trying to make this request:
- [13:42:45] <barbolo>
"req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER),"viewer");"
- [13:43:42] <barbolo>
when I run "alert(opensocial.DataRequest.PersonId);" I get "undefined" as string
- [14:02:56] * warreng (n=warren@c-76-114-207-182.hsd1.va.comcast.net) Quit ()
- [14:03:57] * jotto (n=jotto-ir@76.29.39.153) has joined #opensocial
- [14:08:43] * djl (n=danieljo@82.46.89.37) has joined #opensocial
- [14:08:44] * danieljohnlewis (n=danieljo@82.46.89.37) Quit (Read error: 104 (Connection reset by peer))
- [14:10:04] * djl (n=danieljo@82.46.89.37) Quit (Remote closed the connection)
- [14:23:56] * warreng (n=warren@c-76-114-207-182.hsd1.va.comcast.net) has joined #opensocial
- [14:25:53] * warreng (n=warren@c-76-114-207-182.hsd1.va.comcast.net) Quit (Client Quit)
- [14:52:53] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) has joined #opensocial
- [14:53:06] * barbolo (n=barbolo@marconi.lme.usp.br) Quit (Remote closed the connection)
- [14:58:07] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) Quit (Read error: 104 (Connection reset by peer))
- [15:21:37] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) has joined #opensocial
- [15:28:47] * Arrnonymous (n=Daniell@189.34.133.130) has joined #opensocial
- [15:49:28] * KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) Quit ("The computer fell asleep")
- [16:06:09] * mNeo (n=mNeo07@67.88.241.3) has joined #opensocial
- [16:07:03] * Arrnonymous (n=Daniell@189.34.133.130) Quit ("Leaving.")
- [16:08:41] * fogb (n=foggy@88-149-171-150.static.ngi.it) has joined #opensocial
- [16:11:11] * levitation[A] (n=levitati@noorus.aklubi.ee) Quit (Read error: 104 (Connection reset by peer))
- [16:11:53] * fogb (n=foggy@88-149-171-150.static.ngi.it) Quit (Client Quit)
- [16:12:40] * fogb (n=foggy@88-149-171-150.static.ngi.it) has joined #opensocial
- [16:17:36] * fogb (n=foggy@88-149-171-150.static.ngi.it) Quit ("What's this red button fo")
- [16:23:27] * desudesu (i=desu@unaffiliated/desu) Quit (Remote closed the connection)
- [16:25:50] * fogbank (n=foggy@88-149-171-150.static.ngi.it) Quit (Read error: 110 (Connection timed out))
- [16:38:13] * charlieville (n=charliev@66.218.169.49) has joined #opensocial
- [16:44:49] * suhail (n=suhaildo@c-24-7-65-54.hsd1.ca.comcast.net) Quit ()
- [16:51:16] * LEMONed (n=Miranda@219.137.80.135) has joined #opensocial
- [16:54:56] * Jomyoot (n=atip@ppp-124-120-144-76.revip2.asianet.co.th) has joined #opensocial
- [17:00:19] * charlieville_ (n=charliev@66.218.169.49) has joined #opensocial
- [17:03:37] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) has joined #opensocial
- [17:09:00] * MrTopf (i=hidden-u@oecher.info) Quit ()
- [17:09:09] * charlieville (n=charliev@66.218.169.49) Quit (Read error: 110 (Connection timed out))
- [17:24:52] * statim (n=statim@c-67-161-49-251.hsd1.ca.comcast.net) Quit ("This computer has gone to sleep")
- [17:36:39] * suhail (n=suhaildo@adsl-75-32-127-117.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [17:38:32] * charlieville_ (n=charliev@66.218.169.49) Quit ()
- [17:39:02] * Suhail_ (n=suhaildo@nat3.slide.com) has joined #opensocial
- [17:40:09] * charlieville (n=charliev@66.218.169.49) has joined #opensocial
- [17:43:56] * charlieville (n=charliev@66.218.169.49) Quit (Remote closed the connection)
- [17:44:36] * charlieville (n=charliev@66.218.169.49) has joined #opensocial
- [17:47:30] * levitation[A] (n=levitati@noorus.aklubi.ee) has joined #opensocial
- [17:56:03] * suhail (n=suhaildo@adsl-75-32-127-117.dsl.pltn13.sbcglobal.net) Quit (Read error: 110 (Connection timed out))
- [17:56:39] * levitation_ (n=levitati@noorus.aklubi.ee) has joined #opensocial
- [18:00:53] * kurrik (n=kurrik@nat/google/x-20fd7d578e05c978) has joined #opensocial
- [18:06:45] * besquared (n=Josh@75-101-13-111.dsl.static.sonic.net) has joined #opensocial
- [18:07:56] * levitation[A] (n=levitati@noorus.aklubi.ee) Quit (Read error: 110 (Connection timed out))
- [18:09:18] * gasman (n=joe@nat-ext.sfo2.imeem.net) has joined #opensocial
- [18:13:03] * danbri (n=danbri@unaffiliated/danbri) Quit ()
- [18:24:29] * JoelS (n=JSeligst@c-76-102-163-139.hsd1.ca.comcast.net) Quit ("This computer has gone to sleep")
- [18:32:08] * statim (n=statim@65.219.59.140) has joined #opensocial
- [18:41:16] * rmurphey (n=rmurphey@cpe-024-211-243-016.nc.res.rr.com) Quit (Read error: 110 (Connection timed out))
- [18:44:49] * danbri (n=danbri@ip565f6edb.direct-adsl.nl) has joined #OpenSocial
- [18:50:11] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) has joined #opensocial
- [18:51:43] * shrink (n=shrink@210.212.5.85) Quit (Read error: 113 (No route to host))
- [18:54:34] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) Quit (Client Quit)
- [18:54:48] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) has joined #opensocial
- [19:06:35] * KevinMarks (n=KevinMar@nat/google/x-3a8eb0e5f29cf178) has joined #opensocial
- [19:10:22] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) Quit (Read error: 54 (Connection reset by peer))
- [19:10:38] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) has joined #opensocial
- [19:24:03] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) Quit ()
- [19:44:47] * jotto_ (n=jotto-ir@76.29.37.119) has joined #opensocial
- [19:45:23] * jotto (n=jotto-ir@76.29.39.153) Quit (Read error: 60 (Operation timed out))
- [19:50:31] * shrink (n=shrink@210.212.5.85) has joined #opensocial
- [19:58:52] * KevinMarks (n=KevinMar@nat/google/x-3a8eb0e5f29cf178) Quit ("The computer fell asleep")
- [20:05:26] * jerobi (n=jerobi@nat3.slide.com) has joined #opensocial
- [20:15:06] * fogbank (n=foggy@88-149-171-150.static.ngi.it) has joined #opensocial
- [20:27:01] * rmurphey (n=rmurphey@cpe-024-211-243-016.nc.res.rr.com) has joined #opensocial
- [20:29:38] * danbri (n=danbri@unaffiliated/danbri) Quit ()
- [20:41:39] * KevinMarks (n=KevinMar@nat/google/x-9a00da016e1406df) has joined #opensocial
- [20:52:21] * MrTopf (n=cs@achn-4db49ee9.pool.einsundeins.de) has joined #opensocial
- [20:53:07] * MacTed (n=Thud@63.119.36.36) Quit ()
- [21:30:09] * danbri (n=danbri@ip565f6edb.direct-adsl.nl) has joined #OpenSocial
- [21:32:26] * fogb (n=foggy@88-149-171-150.static.ngi.it) has joined #opensocial
- [21:38:14] * fogbank (n=foggy@88-149-171-150.static.ngi.it) Quit (Read error: 60 (Operation timed out))
- [21:42:44] * Munkle (n=mzlee@fw.arb.zattoo.com) Quit (Remote closed the connection)
- [21:45:30] * MrTopf (n=cs@achn-4db49ee9.pool.einsundeins.de) Quit (Read error: 113 (No route to host))
- [21:51:43] * MrTopf (n=cs@pD9EBF042.dip.t-dialin.net) has joined #opensocial
- [21:54:28] * klep (n=klep@adsl-99-173-10-217.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [22:04:33] * mNeo (n=mNeo07@67.88.241.3) Quit ()
- [22:08:54] * besquared_ (n=Josh@75-101-13-111.dsl.static.sonic.net) has joined #opensocial
- [22:10:34] * JoelS (n=JSeligst@outbound156a.pasd.tfbnw.net) has joined #opensocial
- [22:17:48] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) Quit (Read error: 110 (Connection timed out))
- [22:20:22] * ZeeH (n=xxx@201-14-215-161.pltce701.dsl.brasiltelecom.net.br) has joined #opensocial
- [22:20:37] * ZeeH is now known as ZeeH_BRASIL
- [22:21:37] * ZeeH_BRASIL (n=xxx@201-14-215-161.pltce701.dsl.brasiltelecom.net.br) Quit (Client Quit)
- [22:23:07] * Suhail_ is now known as Suhail
- [22:25:57] * besquared (n=Josh@75-101-13-111.dsl.static.sonic.net) Quit (Read error: 110 (Connection timed out))
- [22:30:29] * JoelS is now known as JSeligstein
- [23:05:18] * shrink (n=shrink@210.212.5.85) Quit (Read error: 110 (Connection timed out))
- [23:08:16] * fogb (n=foggy@88-149-171-150.static.ngi.it) Quit (Read error: 145 (Connection timed out))
- [23:08:21] * shrink (n=shrink@210.212.5.85) has joined #opensocial
- [23:09:06] * LEMONed (n=Miranda@219.137.80.135) Quit (Read error: 104 (Connection reset by peer))
- [23:19:48] * Suhail_ (n=suhaildo@adsl-75-32-127-117.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [23:23:38] * Suhail_ (n=suhaildo@adsl-75-32-127-117.dsl.pltn13.sbcglobal.net) Quit (Client Quit)
- [23:32:42] * Jomyoot_ (n=atip@ppp-124-120-146-147.revip2.asianet.co.th) has joined #opensocial
- [23:34:49] * Suhail (n=suhaildo@nat3.slide.com) Quit (Read error: 113 (No route to host))
- [23:35:12] * MacTed (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) has joined #OpenSocial
- [23:41:51] * Jomyoot (n=atip@ppp-124-120-144-76.revip2.asianet.co.th) Quit (Read error: 110 (Connection timed out))
- [23:52:51] * Infinito- (n=yingyang@li6-217.members.linode.com) has joined #opensocial
- [23:55:14] * Infinito- (n=yingyang@li6-217.members.linode.com) Quit (Client Quit)
- [23:58:20] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) Quit ()
These logs were automatically created by oslogbot on
irc.freenode.net
using a modified version of the Java IRC LogBot.
See http://microformats.org/wiki/mflogbot for more information.