IRC Log for #OpenSocial on 2008-07-03
Timestamps are in UTC.
- [00:01:37] * mainya (n=mainya@122x216x10x250.ap122.ftth.ucom.ne.jp) has joined #opensocial
- [00:02:25] * chelz (n=iridesen@c-76-103-168-242.hsd1.ca.comcast.net) has joined #opensocial
- [00:11:06] * jbasdf (n=jbasdf@gomibako.hsrc.usu.edu) Quit ()
- [00:33:10] * chelz (n=iridesen@c-76-103-168-242.hsd1.ca.comcast.net) Quit ()
- [00:46:56] * Infinito- (n=yingyang@li6-217.members.linode.com) Quit (Remote closed the connection)
- [00:49:15] * petea (n=pandrews@adsl-76-202-153-62.dsl.pltn13.sbcglobal.net) Quit ()
- [00:51:35] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) Quit ("This computer has gone to sleep")
- [00:58:09] * jasonacooper (n=jasonaco@nat/google/x-72ca002ac56e7f46) Quit ()
- [00:58:29] * charlieville (n=charliev@71.5.1.212.ptr.us.xo.net) Quit ()
- [00:59:28] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) has joined #opensocial
- [01:10:42] * JSeligstein (n=JSeligst@outbound285a.pasd.tfbnw.net) Quit ("This computer has gone to sleep")
- [01:45:04] * charlieville (n=charliev@71.5.1.212.ptr.us.xo.net) has joined #opensocial
- [01:48:48] * Infinito- (n=yingyang@li6-217.members.linode.com) has joined #opensocial
- [01:51:17] * charlieville (n=charliev@71.5.1.212.ptr.us.xo.net) Quit ()
- [01:52:01] * confused_123 (n=mNeo07@67.88.241.3) Quit ()
- [02:15:01] * KevinMarks (n=KevinMar@nat/google/x-a0bb60336727a3d2) Quit (Connection timed out)
- [02:30:35] * petea (n=pandrews@76.14.62.217) has joined #opensocial
- [02:32:59] * lrajlich (n=lrajlich@c-24-4-200-21.hsd1.ca.comcast.net) has joined #opensocial
- [02:34:24] * petea (n=pandrews@76.14.62.217) Quit (Client Quit)
- [02:38:41] * petea (n=pandrews@76.14.62.217) has joined #opensocial
- [02:55:33] * Infinito- (n=yingyang@li6-217.members.linode.com) Quit ("Leaving")
- [03:05:32] * JSeligstein (n=JSeligst@166.129.87.81) has joined #opensocial
- [03:05:38] * JSeligstein (n=JSeligst@166.129.87.81) Quit (Remote closed the connection)
- [03:05:50] * JSeligstein (n=JSeligst@166.129.87.81) has joined #opensocial
- [03:06:59] * LEMONed (n=Miranda@219.137.152.194) has joined #opensocial
- [03:17:15] * LEMONed (n=Miranda@219.137.152.194) Quit ("trance rulez!")
- [03:22:34] * kkrueger (n=_kkruege@c-75-72-48-42.hsd1.mn.comcast.net) Quit ()
- [04:04:51] * charlieville (n=charliev@adsl-75-41-57-147.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [04:08:43] * JSeligstein (n=JSeligst@166.129.87.81) Quit ("Leaving")
- [04:16:10] * levitation_ (n=levitati@noorus.aklubi.ee) Quit (card.freenode.net irc.freenode.net)
- [04:16:10] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) Quit (card.freenode.net irc.freenode.net)
- [04:16:10] * MarijnS (n=marijn@92.66.94.81) Quit (card.freenode.net irc.freenode.net)
- [04:16:10] * bear (n=bear@c-71-230-71-173.hsd1.pa.comcast.net) Quit (card.freenode.net irc.freenode.net)
- [04:17:28] * levitation_ (n=levitati@noorus.aklubi.ee) has joined #opensocial
- [04:17:28] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) has joined #opensocial
- [04:17:28] * MarijnS (n=marijn@92.66.94.81) has joined #opensocial
- [04:17:28] * bear (n=bear@c-71-230-71-173.hsd1.pa.comcast.net) has joined #opensocial
- [04:21:45] * MarijnS (n=marijn@92.66.94.81) Quit (card.freenode.net irc.freenode.net)
- [04:21:45] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) Quit (card.freenode.net irc.freenode.net)
- [04:21:45] * levitation_ (n=levitati@noorus.aklubi.ee) Quit (card.freenode.net irc.freenode.net)
- [04:21:45] * bear (n=bear@c-71-230-71-173.hsd1.pa.comcast.net) Quit (card.freenode.net irc.freenode.net)
- [04:24:12] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) has joined #opensocial
- [04:28:59] * levitation_ (n=levitati@noorus.aklubi.ee) has joined #opensocial
- [04:28:59] * MarijnS (n=marijn@92.66.94.81) has joined #opensocial
- [04:28:59] * bear (n=bear@c-71-230-71-173.hsd1.pa.comcast.net) has joined #opensocial
- [05:23:24] * Suhail (n=suhaildo@nat3.slide.com) Quit (Read error: 113 (No route to host))
- [06:10:09] * d3vilking (n=root@203.200.5.131) has joined #opensocial
- [06:10:19] * d3vilking (n=root@203.200.5.131) has left #opensocial
- [06:20:52] * petea_ (n=pandrews@76.14.62.217) has joined #opensocial
- [06:25:06] * petea (n=pandrews@76.14.62.217) Quit (Read error: 113 (No route to host))
- [06:25:06] * petea_ (n=pandrews@76.14.62.217) Quit (Read error: 104 (Connection reset by peer))
- [06:33:45] * petea (n=pandrews@76.14.62.217) has joined #opensocial
- [06:35:59] * lrajlich (n=lrajlich@c-24-4-200-21.hsd1.ca.comcast.net) Quit ()
- [06:49:46] * suhail (n=suhaildo@c-24-7-65-54.hsd1.ca.comcast.net) has joined #opensocial
- [06:50:59] * stevil (n=stevil@cp1029020-a.dbsch1.nb.home.nl) Quit (Read error: 104 (Connection reset by peer))
- [07:03:31] * KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) has joined #opensocial
- [07:19:34] * d3vilking (n=root@203.200.5.131) has joined #opensocial
- [07:42:12] * epeus (n=KevinMar@72.14.224.1) has joined #opensocial
- [07:46:14] * stevil (n=stevil@host-2.tntlogistics-3.demon.nl) has joined #opensocial
- [07:47:39] * KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) Quit (Read error: 110 (Connection timed out))
- [08:01:48] * The_PHP_Jedi (n=ThePHPJe@unaffiliated/thephpjedi/x-000002) Quit ("thephpjedi@generis:~$ sudo /etc/init.d/thephpjedi stop")
- [08:22:46] * desu (n=me@unaffiliated/desu) has joined #opensocial
- [08:22:53] * petea (n=pandrews@76.14.62.217) Quit (Read error: 104 (Connection reset by peer))
- [08:24:16] * petea (n=pandrews@76.14.62.217) has joined #opensocial
- [08:38:15] * becubed (n=Josh@75-101-13-111.dsl.static.sonic.net) Quit ()
- [09:04:43] * epeus (n=KevinMar@72.14.224.1) Quit (Read error: 110 (Connection timed out))
- [09:35:57] * desu (n=me@unaffiliated/desu) Quit ("Read Error: Connection reset by peer pressure")
- [09:54:02] * d3vilking (n=root@203.200.5.131) has left #opensocial
- [12:36:21] * MacTed (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) Quit ()
- [12:43:53] * Infinito- (n=yingyang@li6-217.members.linode.com) has joined #opensocial
- [13:06:28] * stevil (n=stevil@host-2.tntlogistics-3.demon.nl) Quit ()
- [13:17:37] * jkinner (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) has joined #opensocial
- [13:24:02] * Munkle (n=mzlee@fw.arb.zattoo.com) has joined #opensocial
- [13:28:30] * MacTed (n=Thud@63.119.36.36) has joined #OpenSocial
- [13:36:52] * petea (n=pandrews@76.14.62.217) Quit ()
- [13:47:43] * MiniOverlord (n=miniover@p57A1C7E6.dip.t-dialin.net) has joined #opensocial
- [13:49:10] * kkrueger (n=_kkruege@c-75-72-48-42.hsd1.mn.comcast.net) has joined #opensocial
- [13:51:08] * rmurphey (n=rmurphey@cpe-024-211-243-016.nc.res.rr.com) Quit ("leaving")
- [14:03:52] * rmurphey (n=rmurphey@cpe-024-211-243-016.nc.res.rr.com) has joined #opensocial
- [14:24:49] * jasonacooper (n=jasonaco@c-71-202-203-213.hsd1.ca.comcast.net) has joined #opensocial
- [14:29:34] <MiniOverlord>
Hi, I am currently trying to get into open social development and after toying around with the tutorials and orkut, digging through the docs all day, I was wondering if it is possible to access information about the group membership of users ("communities" in orkut) via the API.
- [14:37:25] * KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) has joined #opensocial
- [14:42:55] * stevil (n=stevil@host-2.tntlogistics-3.demon.nl) has joined #opensocial
- [14:45:38] * ramkrsna (n=ramkrsna@unaffiliated/ramkrsna) has joined #opensocial
- [14:46:41] * jasonacooper_ (n=jasonaco@72.14.224.1) has joined #opensocial
- [15:03:16] * jasonacooper (n=jasonaco@c-71-202-203-213.hsd1.ca.comcast.net) Quit (Read error: 110 (Connection timed out))
- [15:05:09] * fogbank (n=foggy@88-149-171-150.static.ngi.it) Quit (Read error: 145 (Connection timed out))
- [15:06:38] * petea (n=pandrews@adsl-76-202-153-62.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [15:08:18] * petea (n=pandrews@adsl-76-202-153-62.dsl.pltn13.sbcglobal.net) Quit (Client Quit)
- [15:09:50] * petea (n=pandrews@adsl-76-202-153-62.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [15:12:51] * petea (n=pandrews@adsl-76-202-153-62.dsl.pltn13.sbcglobal.net) Quit (Read error: 104 (Connection reset by peer))
- [15:13:34] * petea (n=pandrews@adsl-76-202-153-62.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [15:27:05] * KoBB (n=clabesse@ALyon-152-1-160-246.w86-211.abo.wanadoo.fr) has joined #opensocial
- [15:28:59] * jasonacooper_ (n=jasonaco@72.14.224.1) Quit (Read error: 110 (Connection timed out))
- [15:31:08] * KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) Quit (Connection timed out)
- [15:32:57] <KoBB>
Hello everyone, I am looking for someone that is hosting OpenSocial apps for a tip or two. Thanks for any help :)
- [15:33:02] * jasonacooper (n=jasonaco@69.36.227.135) has joined #opensocial
- [15:42:08] <Munkle>
I can try to hel you KoBB
- [15:42:12] <Munkle>
help*
- [15:47:52] * stevil (n=stevil@host-2.tntlogistics-3.demon.nl) Quit (Read error: 110 (Connection timed out))
- [15:47:54] * jasonacooper (n=jasonaco@69.36.227.135) Quit ()
- [15:57:01] <KoBB>
Great, I must be on my way now, hope catching you tommorow maybe
- [15:57:15] <KoBB>
Thanks very much for your answer :)
- [15:57:27] * KevinMarks (n=KevinMar@nat/google/x-b135444eb4870eaa) has joined #opensocial
- [15:57:56] * charlieville (n=charliev@adsl-75-41-57-147.dsl.pltn13.sbcglobal.net) Quit ()
- [15:58:29] * KoBB (n=clabesse@ALyon-152-1-160-246.w86-211.abo.wanadoo.fr) Quit ("leaving")
- [15:59:27] * G2_-_Da_Geek (n=chatzill@59.184.177.132) has joined #opensocial
- [16:00:54] <G2_-_Da_Geek>
how can I use Orkut's CSS in my application....?
- [16:03:33] * desu (n=me@unaffiliated/desu) has joined #opensocial
- [16:05:12] * jasonacooper (n=jasonaco@nat/google/x-ae7f66af20a31e9e) has joined #opensocial
- [16:05:25] * jasonacooper (n=jasonaco@nat/google/x-ae7f66af20a31e9e) has left #opensocial
- [16:08:01] * G2_-_Da_Geek_ (n=chatzill@59.184.139.6) has joined #opensocial
- [16:14:13] * G2_-_Da_Geek (n=chatzill@59.184.177.132) Quit (Read error: 60 (Operation timed out))
- [16:14:13] * G2_-_Da_Geek_ is now known as G2_-_Da_Geek
- [16:14:34] * jbasdf (n=jbasdf@a129-123-252-9.tusuwl.usu.edu) has joined #opensocial
- [16:26:46] * suhail (n=suhaildo@c-24-7-65-54.hsd1.ca.comcast.net) Quit ()
- [16:33:04] * G2_-_Da_Geek (n=chatzill@59.184.139.6) Quit ("ChatZilla 0.9.83 [Firefox 3.0/2008052906]")
- [16:38:36] * MrTopf (i=hidden-u@oecher.info) has joined #opensocial
- [16:49:24] * mNeo (n=mNeo10@adsl-76-200-183-22.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [16:58:41] * klep (n=klep@adsl-99-173-10-217.dsl.pltn13.sbcglobal.net) has joined #opensocial
- [17:01:28] * MiniOverlord (n=miniover@p57A1C7E6.dip.t-dialin.net) Quit ("Nettalk6 - www.ntalk.de")
- [17:16:16] * suhail (n=suhaildo@nat3.slide.com) has joined #opensocial
- [17:19:32] * desu is now known as desudesu
- [17:28:58] * jkinner (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) Quit (Read error: 104 (Connection reset by peer))
- [17:35:25] * jkinner (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) has joined #opensocial
- [17:35:45] * jkinner (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) Quit (Read error: 104 (Connection reset by peer))
- [17:36:14] * KevinMarks (n=KevinMar@nat/google/x-b135444eb4870eaa) Quit ("The computer fell asleep")
- [17:41:40] * desu (i=desu@unaffiliated/desu) has joined #opensocial
- [17:45:54] * BobChao (n=cctw@124-8-7-218.dynamic.tfn.net.tw) has joined #opensocial
- [17:49:17] * KevinMarks (n=KevinMar@nat/google/x-61ef99face98e508) has joined #opensocial
- [17:50:06] * jbasdf_ (n=jbasdf@gomibako.hsrc.usu.edu) has joined #opensocial
- [17:50:41] * desudesu (n=me@unaffiliated/desu) Quit ("Read Error: Connection reset by peer pressure")
- [17:55:40] * gasman (n=joe@nat-ext.sfo2.imeem.net) Quit (Read error: 104 (Connection reset by peer))
- [17:57:20] * jkinner (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) has joined #opensocial
- [17:58:44] * Aakash (i=7aa7706c@gateway/web/ajax/mibbit.com/x-f5bd2a72fa9ebb29) has joined #opensocial
- [18:05:17] * besquared_ (n=Josh@75-101-13-111.dsl.static.sonic.net) has joined #opensocial
- [18:05:19] * jkinner_ (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) has joined #opensocial
- [18:05:24] * jkinner (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) Quit (Read error: 104 (Connection reset by peer))
- [18:09:20] * jbasdf (n=jbasdf@a129-123-252-9.tusuwl.usu.edu) Quit (Read error: 110 (Connection timed out))
- [18:15:21] <Aakash>
hi
- [18:18:42] * besquared_ (n=Josh@75-101-13-111.dsl.static.sonic.net) Quit ()
- [18:27:04] <kurrik>
hi
- [18:27:04] * jkinner_ (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) Quit (Read error: 104 (Connection reset by peer))
- [18:29:00] * jkinner_ (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) has joined #opensocial
- [18:32:38] <Munkle>
hello
- [18:32:46] <kurrik>
hi
- [18:40:43] * epeus (n=KevinMar@nat/google/x-fbacbce0dae29326) has joined #opensocial
- [18:43:46] * zer0her0 (n=Z@72-0-148-139.tvc-ip.com) has joined #opensocial
- [18:44:16] * besquared_ (n=Josh@75-101-13-111.dsl.static.sonic.net) has joined #opensocial
- [18:45:50] * Aakash (i=7aa7706c@gateway/web/ajax/mibbit.com/x-f5bd2a72fa9ebb29) Quit ("http://www.mibbit.com ajax IRC Client")
- [18:46:25] * KevinMarks (n=KevinMar@nat/google/x-61ef99face98e508) Quit (Connection timed out)
- [18:49:23] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) has joined #opensocial
- [18:50:38] * zer0her0 (n=Z@72-0-148-139.tvc-ip.com) Quit ()
- [18:50:46] * zer0her0 (n=Z@72-0-148-139.tvc-ip.com) has joined #opensocial
- [18:51:23] * The_PHP_Jedi (n=ThePHPJe@unaffiliated/thephpjedi/x-000002) has joined #OpenSocial
- [19:35:59] * jkinner_ (n=jkinner@pool-71-188-4-23.cmdnnj.east.verizon.net) Quit ("BBL")
- [19:40:20] * krishna (i=79f7de3a@gateway/web/ajax/mibbit.com/x-a5ed563c1347fd22) has joined #opensocial
- [19:41:36] * sky1234 (i=44c4f16e@gateway/web/ajax/mibbit.com/x-c77420bf47d3e0e5) has joined #opensocial
- [19:43:53] * PSobota (n=chatzill@189-039-044-068.static.spo.ctbc.com.br) has joined #opensocial
- [19:44:32] <PSobota>
so can i ask something?
- [19:46:28] <PSobota>
so anyone taking questions?:
- [19:49:39] * sky1234 (i=44c4f16e@gateway/web/ajax/mibbit.com/x-c77420bf47d3e0e5) Quit ("http://www.mibbit.com ajax IRC Client")
- [19:51:12] * sky1234 (i=44c4f16e@gateway/web/ajax/mibbit.com/x-8334f4562c649ceb) has joined #opensocial
- [19:58:01] <krishna>
Hi All I have an issue in php session managment in open social app.... $_SESSION values are lost when I opened a new page from the first page
- [19:58:09] <krishna>
I used session_start
- [19:58:18] <krishna>
Can anybody help
- [19:59:05] <krishna>
values are lost in a starnge way... if I store $_SEESIOn['user'] = $_REQUEST['user']
- [19:59:24] <krishna>
in the same page $_SESSIOn is having that value
- [19:59:58] <krishna>
but in the next page after session_start() $_SESSIOn is having like this Array(user=>)
- [20:00:08] <krishna>
Did anybody faced this issue
- [20:01:38] * zer0her0 (n=Z@72-0-148-139.tvc-ip.com) Quit ()
- [20:09:33] <PSobota>
so anyone has an idea how I can check what data type my ResponseItem.getData() calls are returning?
- [20:09:41] * epeus (n=KevinMar@nat/google/x-fbacbce0dae29326) Quit (Read error: 110 (Connection timed out))
- [20:12:47] * jasonacooper (n=jasonaco@nat/google/x-de3cf704c94e25e9) has joined #opensocial
- [20:14:02] * api_dwh (n=api_dwh@nat/google/x-72ea720b151ed751) has joined #opensocial
- [20:17:34] <kurrik>
well in javascript there aren't really concrete types, so through introspection the best you'll do is find out that it's an "object"
- [20:18:02] <kurrik>
what I usually do is console.log it in Firebug, which lets you see what properties and methods are available on it
- [20:18:07] <krishna>
Hi any google employees joined?
- [20:18:18] <kurrik>
if you don't use Firebug, I'd really suggest doing so
- [20:18:23] <kurrik>
http://www.getfirebug.com
- [20:18:33] <kurrik>
hi krishna
- [20:19:34] <krishna>
Hi I am having very strange issue with php session management in open social app... I will write the cmplete desc in next few lines
- [20:20:15] <kurrik>
I don't think $SESSION will be compatible with OpenSocial gadgets
- [20:21:19] <krishna>
then is there any generic way to pass viewer_id and name and friends urls to multiple php pages
- [20:21:43] <krishna>
suppose using makerequest I pass thesedetails to page 1
- [20:21:59] <krishna>
Now page will have links to multiple pages
- [20:22:08] <krishna>
they all too needs the info
- [20:22:38] <krishna>
is there any generic way for this?
- [20:22:55] <WaaX>
krishna Are you using Shindig?
- [20:23:33] <krishna>
no I am using orkut only
- [20:23:53] <kurrik>
krishna, what type of gadget are you writing? it sounds like a type=url
- [20:28:45] * KevinMarks (n=KevinMar@216.239.45.19) has joined #opensocial
- [20:28:57] <krishna>
Yes I need that kind of gadget only with the viewer info in the page... since there is no api which I call in my php page
- [20:29:23] <PSobota>
yea i use Firebug and yes I get that it's an object..
- [20:29:25] <krishna>
to fetch user details I am getting the first page using makerequest
- [20:29:44] <krishna>
and putting all other page links in 1st page
- [20:29:55] <PSobota>
which doesn't help but I will try console.log
- [20:30:42] <kurrik>
PSobota: just stick console.log(variable_name); into your javascript
- [20:32:12] <kurrik>
krishna: I'm not quite sure I get how you're building this
- [20:32:27] <kurrik>
the first page is loaded through makeRequest, which prints links
- [20:32:40] <kurrik>
clicking those links redirects the gadget IFRAME to another php page?
- [20:33:04] <krishna>
yes
- [20:33:33] <krishna>
this is what exactly I am doing
- [20:33:36] <PSobota>
i got "Object" in the console.. where are these properties and methods listed?
- [20:33:54] <kurrik>
click on it
- [20:34:37] <PSobota>
"no properties for the object" actually i think this is a weird object I'm getting
- [20:34:49] <kurrik>
that is strange
- [20:35:10] <PSobota>
i'm trying to get the value for an unitialized storage field.. like one that hasn't been set yet
- [20:35:17] <kurrik>
krishna: that first page you makeReqested isn't actually running in the same php session as the pages the user clicks on then
- [20:35:28] <PSobota>
i wonder why i don't get null instead of this object.
- [20:36:16] <kurrik>
PSobota: is this in response to a requestPersonAppData call?
- [20:36:48] <PSobota>
FetchPersonAppDataRequest
- [20:37:22] <kurrik>
er, yeah ;)
- [20:37:36] <PSobota>
yes, i mean
- [20:37:38] <krishna>
oh is it... then how can I send info to 1st page which can be shared by all other pages
- [20:38:48] * krishna (i=79f7de3a@gateway/web/ajax/mibbit.com/x-a5ed563c1347fd22) Quit ("http://www.mibbit.com ajax IRC Client")
- [20:38:53] * epeus (n=KevinMar@nat/google/x-32c60e2bbcf0ee0f) has joined #opensocial
- [20:39:14] * Infinito- (n=yingyang@li6-217.members.linode.com) Quit ("Leaving")
- [20:39:47] * krishna (i=79f7de3a@gateway/web/ajax/mibbit.com/x-5d0c1c73d3195778) has joined #opensocial
- [20:40:39] <kurrik>
PSobota: the response of that will be an object like { "<user id>" : <key,value data> }
- [20:40:58] <kurrik>
if the user doesn't have any data, I don't believe that they will show up in that object
- [20:41:09] <kurrik>
so if nobody has that data, then you should get { } back
- [20:41:33] <kurrik>
krishna: that's going to take a bit more work
- [20:41:43] <PSobota>
ok.. would that object have any name or it's a dynamically created object?
- [20:42:04] <kurrik>
just dynamically created - should be what you get out of the getData() call
- [20:42:11] <kurrik>
if you set data, you should see something in there
- [20:42:57] * PSobota (n=chatzill@189-039-044-068.static.spo.ctbc.com.br) Quit (Remote closed the connection)
- [20:43:30] * PSobota (n=chatzill@189-039-044-068.static.spo.ctbc.com.br) has joined #opensocial
- [20:44:47] <krishna>
Hi Kurrik.... i didn't get it
- [20:46:32] <kurrik>
sorry, this is a bit complicated
- [20:46:58] <kurrik>
when you makeRequest a page, it's orkut, hi5, myspace, whatever that is actually retrieving the page from your server
- [20:47:27] <kurrik>
so you're not going to be able to store stuff in SESSION
- [20:48:05] <kurrik>
what you can do is pass any data you want to access as POST data to your page
- [20:48:39] <kurrik>
when your page sees it in POST, it stores this data in your database in a new row with some ID number
- [20:49:13] <kurrik>
this ID number should be randomly generated and pretty large
- [20:49:38] <kurrik>
then when you print out your page in PHP, make all the links look like this
- [20:50:05] <kurrik>
http://yourserver.com/page2?id=<the same ID number you set when you wrote the data>
- [20:50:26] <kurrik>
then, whenever you render page2, check to see if that ID number is there
- [20:50:38] <kurrik>
and get the appropriate data from your database
- [20:51:08] * KevinMarks (n=KevinMar@216.239.45.19) Quit (Connection timed out)
- [20:51:58] * Munkle (n=mzlee@fw.arb.zattoo.com) Quit ("Leaving")
- [20:54:20] <kurrik>
of course, this isn't terribly secure
- [20:54:45] <kurrik>
so I'd suggest that when you find the information in your database, then you should write it to $SESSION
- [20:54:51] <kurrik>
and delete the data
- [20:56:44] <krishna>
Yup this seems to be very good solution for me too
- [20:56:44] * MacTed (n=Thud@63.119.36.36) Quit ()
- [20:59:58] <krishna>
Thank you very much kurrik ... bye bye
- [21:00:08] <kurrik>
sure
- [21:00:50] * GabeW (i=gwachob@pdpc/supporter/professional/GabeW) has left #opensocial
- [21:00:58] <PSobota>
{ "<user id>" : <key,value data> } is this a dictionary of dictionaries? what would be this called?
- [21:01:40] * krishna (i=79f7de3a@gateway/web/ajax/mibbit.com/x-5d0c1c73d3195778) Quit ("http://www.mibbit.com ajax IRC Client")
- [21:01:42] <kurrik>
you can think of it that way
- [21:01:59] <kurrik>
in js, it's all just "objects"
- [21:02:15] <kurrik>
but objects <==> dictionaries for the most part
- [21:02:47] <PSobota>
i am looking for a way to test whether that has nothing inside.. but looks like js doesn't have a dictionary syntax
- [21:03:15] * epeus is now known as KevinMarks
- [21:03:57] <PSobota>
like.. have i gotten {} back? init the data to some string
- [21:04:27] <kurrik>
I see
- [21:12:58] <kurrik>
hm, I'm actually surprised that I wasn't able to find a better way to do this
- [21:13:57] <kurrik>
assuming the response is called "obj"
- [21:13:59] <kurrik>
var keys = 0;
- [21:14:04] <kurrik>
for (var i in obj) if (obj.hasOwnProperty(i)) keys++;
- [21:14:16] <kurrik>
if (keys == 0) {
- [21:14:28] <kurrik>
<init the data>
- [21:14:30] <kurrik>
}
- [21:16:31] <PSobota>
so that's counting the properties on the object
- [21:17:05] <PSobota>
it worked
- [21:18:02] <kurrik>
yeah
- [21:18:07] <kurrik>
cool
- [21:20:43] <PSobota>
thanks.. gotta understand this nature of js better
- [21:20:47] <PSobota>
see ya
- [21:21:03] * jasoncosta (n=jasoncos@nat/google/x-59c3638773ebc553) has joined #opensocial
- [21:21:11] <kurrik>
sure, take care
- [21:21:38] * PSobota (n=chatzill@189-039-044-068.static.spo.ctbc.com.br) Quit ("ChatZilla 0.9.83 [Firefox 3.0/2008052906]")
- [21:23:27] * MrTopf (i=hidden-u@oecher.info) Quit ()
- [21:26:04] * sky1234 (i=44c4f16e@gateway/web/ajax/mibbit.com/x-8334f4562c649ceb) Quit ("http://www.mibbit.com ajax IRC Client")
- [21:52:27] * kkrueger (n=_kkruege@c-75-72-48-42.hsd1.mn.comcast.net) Quit ()
- [21:55:14] * mNeo (n=mNeo10@adsl-76-200-183-22.dsl.pltn13.sbcglobal.net) Quit ()
- [22:10:58] * kkrueger (n=_kkruege@c-75-72-48-42.hsd1.mn.comcast.net) has joined #opensocial
- [22:18:12] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) Quit ()
- [22:19:19] * bakert (n=bakert@82-69-214-14.dsl.in-addr.zen.co.uk) has joined #opensocial
- [22:20:33] * api_dwh (n=api_dwh@nat/google/x-72ea720b151ed751) Quit ("Leaving")
- [22:20:36] * Infinito- (n=yingyang@li6-217.members.linode.com) has joined #opensocial
- [22:28:39] * jbasdf_ (n=jbasdf@gomibako.hsrc.usu.edu) Quit ()
- [22:29:16] * kkrueger (n=_kkruege@c-75-72-48-42.hsd1.mn.comcast.net) Quit ()
- [22:34:40] * warreng (n=warren@c-68-48-121-35.hsd1.dc.comcast.net) Quit ()
- [22:53:29] * Infinito- (n=yingyang@li6-217.members.linode.com) Quit (Remote closed the connection)
- [22:57:37] * BobChao (n=cctw@124-8-7-218.dynamic.tfn.net.tw) Quit ("Ex-Chat")
- [23:00:12] * iwiddit (n=Dustin@c-24-16-254-36.hsd1.mn.comcast.net) has joined #opensocial
- [23:25:36] * zer0her0 (n=Z@cpe-74-67-48-253.nycap.res.rr.com) has joined #opensocial
- [23:32:34] * iwiddit (n=Dustin@c-24-16-254-36.hsd1.mn.comcast.net) has left #opensocial
- [23:42:48] * Infinito- (n=yingyang@li6-217.members.linode.com) has joined #opensocial
- [23:58:42] * jasonacooper (n=jasonaco@nat/google/x-de3cf704c94e25e9) has left #opensocial
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.