<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developer.myspace.com/Community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>JavaScript/HTML - Container</title><link>http://developer.myspace.com/Community/forums/23.aspx</link><description>Discuss the OpenSocial container interface for MySpace.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41725.aspx</link><pubDate>Fri, 19 Jun 2009 20:12:22 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41725</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41725.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41725</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;On .7 this are the files we support in adition of the basic information (profile url, thumbnail, id, nickname) &lt;/p&gt;&lt;p&gt;BOOKS&lt;br /&gt;DESIRE_TO_MEET&lt;br /&gt;HEADLINE&lt;br /&gt;HEROES&lt;br /&gt;INTERESTS&lt;br /&gt;MOVIES&lt;br /&gt;MUSIC&lt;br /&gt;OCCUPATION&lt;br /&gt;TV_SHOWS&lt;br /&gt;ZODIAC_SIGN&lt;br /&gt;STATUS&lt;br /&gt;MOOD&lt;br /&gt;&lt;br /&gt;ABOUT_ME&lt;br /&gt;AGE&lt;br /&gt;CITY&lt;br /&gt;COUNTRY&lt;br /&gt;GENDER&lt;br /&gt;HOMETOWN&lt;br /&gt;RELATIONSHIP_STATUS&lt;br /&gt;POSTALCODE&lt;br /&gt;REGION&lt;/p&gt;&lt;p&gt;&amp;nbsp;Some of these fields require that the user grant extra permission to be able to get them&lt;br /&gt;ACCESS_TO_IDENTITY_INFORMTION&lt;br /&gt; FULL_PROFILE_INFO&lt;/p&gt;&lt;p&gt;If the user hasn&amp;#39;t grant this pemissions the data will not be returned and it will be undefined.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Jorge &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41263.aspx</link><pubDate>Sun, 07 Jun 2009 15:58:08 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41263</guid><dc:creator>rondata</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41263.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41263</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Looking at the documentation now:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://developer.myspace.com/community/myspace/myopenspaceCoreV07.aspx"&gt;http://developer.myspace.com/community/myspace/myopenspaceCoreV07.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And I do not see those fields available in the documentation &lt;/p&gt;&lt;p&gt;I know we&amp;#39;re no longer enhancing .7 so if these are not available,you&amp;#39;d have to move to .8 to get it.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ll find ot. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41262.aspx</link><pubDate>Sun, 07 Jun 2009 15:55:18 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41262</guid><dc:creator>rondata</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41262.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41262</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ah, ok.. started messing with the editor, and I see you cannot get certain fields, and now I wonder if they&amp;#39;re available in .7&lt;/p&gt;&lt;p&gt;I know they&amp;#39;re available in .8&lt;/p&gt;&lt;p&gt;Let me look into this more.&lt;/p&gt;&lt;p&gt;Rhonda&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41260.aspx</link><pubDate>Sun, 07 Jun 2009 15:43:25 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41260</guid><dc:creator>rondata</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41260.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41260</wfw:commentRss><description>&lt;p&gt;The editors are there as a guide and can help you with syntax. You don&amp;#39;t have to use the code from it, but it may help you determine what the problem is.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I cannot troubleshoot your code for you, sorry. I can possibly get someone to take a look, but given the fact that our team is pretty slammed with priorities right now, I don&amp;#39;t think it wil happen any time soon.&lt;/p&gt;&lt;p&gt;Rhonda&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41258.aspx</link><pubDate>Sun, 07 Jun 2009 15:23:46 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41258</guid><dc:creator>Saleh AlBelwi</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41258.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41258</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for replying quickly ...&lt;/p&gt;&lt;p&gt;I would like to solve the problem from my code , all fields such as[name, id&amp;nbsp; ,interests, movies] return string, but&amp;nbsp; above fields return undefined , so I hope to help me to solve this problem as soon as possible.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41249.aspx</link><pubDate>Sun, 07 Jun 2009 13:44:09 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41249</guid><dc:creator>rondata</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41249.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41249</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We have a .7 editor too :)&lt;/p&gt;&lt;p&gt;http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=102563&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41248.aspx</link><pubDate>Sun, 07 Jun 2009 12:07:58 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41248</guid><dc:creator>Saleh AlBelwi</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41248.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41248</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am working with 0.7 version&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41232.aspx</link><pubDate>Sat, 06 Jun 2009 21:11:51 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41232</guid><dc:creator>rondata</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41232.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41232</wfw:commentRss><description>&lt;p&gt;let me know if you&amp;#39;re able to work with the .8 editor. Thanks&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41227.aspx</link><pubDate>Sat, 06 Jun 2009 15:46:15 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41227</guid><dc:creator>Saleh AlBelwi</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41227.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41227</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I tested the code on own my programm , give me same problem[ undefined ]. I hope to test on my code above&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41214.aspx</link><pubDate>Sat, 06 Jun 2009 08:32:07 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41214</guid><dc:creator>rondata</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41214.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41214</wfw:commentRss><description>&lt;p&gt;Have you seen this sample app for the .8 editor? Let me know if this helps. :)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=124902"&gt;http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=124902&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(I just ran a quick test using it and was able to get religion) :)&lt;/p&gt;</description></item><item><title>extract my information profiles return undefined [such as email,children]</title><link>http://developer.myspace.com/Community/forums/thread/41199.aspx</link><pubDate>Fri, 05 Jun 2009 22:36:52 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41199</guid><dc:creator>Saleh AlBelwi</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41199.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=23&amp;PostID=41199</wfw:commentRss><description>&lt;p&gt;Hello all ,&lt;/p&gt;
&lt;p&gt;When I tried to retreive my persoanl information , some of them return undefined such as[ children - smoker -religion -looking_for _ date_of_birth]. as you can see in the code below. I hope to help me to solve this problem as soon as possible&lt;/p&gt;
&lt;p&gt;&amp;nbsp;div id=&amp;#39;heading&amp;#39;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;hr size=&amp;quot;1px&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;var c = document.getElementById(&amp;quot;heading&amp;quot;);&lt;br /&gt;function doMakeRequest()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var param = {};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[opensocial.ContentRequestParameters.AUTHENTICATION] = opensocial.ContentRequestParameters.AuthenticationType.NONE;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[opensocial.ContentRequestParameters.METHOD] = opensocial.ContentRequestParameters.MethodType.GET;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[opensocial.ContentRequestParameters.CONTENT_TYPE] = opensocial.ContentRequestParameters.ContentType.HTML;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; opensocial.makeRequest(&amp;quot;&lt;a href="http://www.openspaceeditor.com/makeRequest.htm"&gt;http://www.openspaceeditor.com/makeRequest.htm&lt;/a&gt;&amp;quot;, gotMakeRequest, param);&lt;br /&gt;}&lt;br /&gt;function gotMakeRequest(response, url, errored)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!errored)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.appendChild(document.createTextNode(response + &amp;quot;\r\n&amp;quot;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.appendChild(document.createTextNode(&amp;quot;makeRequest failed:(&amp;quot; + response + &amp;quot;)(&amp;quot; + url + &amp;quot;)(&amp;quot; + errored + &amp;quot;)&amp;quot; + &amp;quot;\r\n&amp;quot;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;doMakeRequest();&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Example: newFetchPersonRequest&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;lt;div id=&amp;#39;heading&amp;#39;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;hr size=&amp;quot;1px&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;var os;&lt;br /&gt;var dataRequest;&lt;br /&gt;function dataRequest()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; os = opensocial.Container.get();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataRequest = os.newDataRequest();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var param =&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] = [opensocial.Person.Field.ID,MyOpenSpace.Person.Field.ABOUT,MyOpenSpace.Person.Field.BOOKS];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var OWNERReq = os.newFetchPersonRequest(opensocial.DataRequest.PersonId.OWNER, param);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataRequest.add(OWNERReq);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataRequest.send(getResponse);&lt;br /&gt;}&lt;br /&gt;function getResponse(response)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( response.hadError() )&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.write(&amp;quot;There is an error in the response. &amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var OWNER = response.get(opensocial.DataRequest.PersonId.OWNER).getData();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var birth = OWNER.getField(MyOpenSpace.Person.Field.DATE_OF_BIRTH);&lt;br /&gt;&amp;nbsp;var looking = OWNER.getField(MyOpenSpace.Person.Field.LOOKING_FOR);&lt;br /&gt;&amp;nbsp;var religion = OWNER.getField(MyOpenSpace.Person.Field.RELIGION);&lt;br /&gt;&amp;nbsp;var chid = OWNER.getField(MyOpenSpace.Person.Field.CHILDREN);&lt;br /&gt;&amp;nbsp;var emails = OWNER.getField(MyOpenSpace.Person.Field.EMAILS);&lt;br /&gt;&amp;nbsp;var smoking = OWNER.getField(MyOpenSpace.Person.Field.SMOKER);&lt;br /&gt;&amp;nbsp;var eth = OWNER.getField(MyOpenSpace.Person.Field.ETHNICITY);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.write(birth+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;document.write(looking+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;document.write(religion+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;document.write(chid+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;document.write(emails+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;document.write(smoking+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;document.write(eth+ &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.write(&amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.write(&amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;br /&gt;}&lt;br /&gt;dataRequest();&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;</description></item></channel></rss>