<?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>makeRequest</title><link>http://developer.myspace.com/Community/forums/30.aspx</link><description>Questions related to the OpenSocial makeRequest function and our proxy.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>unsupported port error </title><link>http://developer.myspace.com/Community/forums/thread/27318.aspx</link><pubDate>Tue, 11 Nov 2008 09:23:58 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:27318</guid><dc:creator>Halosys</dc:creator><slash:comments>4</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/27318.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=27318</wfw:commentRss><description>In my gadgets.io.makerequest(); method ,i my using&amp;nbsp; http://halosysservices.com:9080/opensocial url.And i am getting unsupported port 9080 error in reponse.Is there any limitation in myspace related with port.&lt;br /&gt;</description></item><item><title>viewerName changed, but how</title><link>http://developer.myspace.com/Community/forums/thread/42946.aspx</link><pubDate>Mon, 24 Aug 2009 20:25:46 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42946</guid><dc:creator>villalog</dc:creator><slash:comments>1</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42946.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42946</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I used :&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var viewerData = dataResponse.get(opensocial.DataRequest.PersonId.OWNER).getData();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var viewerName = viewerData.getField(opensocial.Person.Field.NAME);&lt;br /&gt;&lt;/p&gt;&lt;p&gt;to get the name of the page owner. it returned &amp;quot;villalog&amp;quot; a while ago&lt;/p&gt;&lt;p&gt;Now it returns &amp;quot;V1&amp;quot; what does not match the viewer name&lt;/p&gt;&lt;p&gt;I foun in hello world app &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (MyOpenSpace.Version === &amp;quot;0.8&amp;quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var viewerReq = os.newFetchPersonRequest(opensocial.IdSpec.PersonId.VIEWER);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 0.7 Container&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else if (MyOpenSpace.Version === &amp;quot;0.7&amp;quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var viewerReq = os.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But both cases do not work, the execution of the java script stops due to an error.&lt;/p&gt;&lt;p&gt;When my owner page&amp;nbsp; is www.myspace.com/villalog I want the value &amp;quot;villalog&amp;quot; in a string. How do I achieve this ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you &lt;/p&gt;&lt;p&gt;villalog &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error retrieving data from one specific domain? </title><link>http://developer.myspace.com/Community/forums/thread/42790.aspx</link><pubDate>Sat, 15 Aug 2009 10:19:10 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42790</guid><dc:creator>Ideamesh, Inc.</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42790.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42790</wfw:commentRss><description>&lt;p&gt;Hello in our RSS reader application I have a user that tried to retrieve a feed from something like http://www.triond.com/feed/user/pen_name/webworker &lt;br /&gt;&lt;/p&gt;&lt;p&gt;(This is a test account I made to verify that the problem persisted with different feeds)&lt;/p&gt;&lt;p&gt;&amp;nbsp;In either case when using this code:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre id="line32"&gt;gadgets.io.makeRequest(feedurl, parseRSS, params);&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am getting this error returned: &lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;Error loading: &lt;a href="http://api.msappspace.com/apprendering/107266/home/08152009031459/1_0_0/undefined" target="_blank"&gt;undefined&lt;/a&gt;&lt;br /&gt;Error message:     &amp;#39;errorCode&amp;#39; =&amp;gt; &amp;quot;internalError&amp;quot;
    &amp;#39;errorMessage&amp;#39; =&amp;gt; &amp;quot;Internal Server Error&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Any idea why only one particular domain would be giving this problem? &lt;/p&gt;</description></item><item><title>makeRequest SIGNED to external web service</title><link>http://developer.myspace.com/Community/forums/thread/42740.aspx</link><pubDate>Wed, 12 Aug 2009 14:52:43 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42740</guid><dc:creator>Brian</dc:creator><slash:comments>1</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42740.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42740</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m developing an onsite app. I&amp;#39;m trying to call an external webservice from the onsite app. If I use&amp;nbsp; AuthorizationType.NONE, everything is fine. But when I switched to AuthorizationType.SIGNED, I get the response 403: Forbidden.The example code is here:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;function test(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var params = {};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; params[gadgets.io.RequestParameters.CONTENT_TYPE] =&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gadgets.io.ContentType.TEXT;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; params[gadgets.io.RequestParameters.AUTHORIZATION] = &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gadgets.io.AuthorizationType.SIGNED;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var url=&amp;quot;http://www.myserver.com/myservice.php&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gadgets.io.makeRequest(url, test_cb, params);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(&amp;#39;heading&amp;#39;).innerHTML = &amp;quot;&amp;quot;;&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; function test_cb(obj) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug(obj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want to use SIGNED request because I need to make sure the call is from my onsite app. Please help! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>No makeRequest examples work</title><link>http://developer.myspace.com/Community/forums/thread/42654.aspx</link><pubDate>Thu, 06 Aug 2009 00:05:59 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42654</guid><dc:creator>kai</dc:creator><slash:comments>2</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42654.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42654</wfw:commentRss><description>Not sure if I&amp;#39;m just a fool here, but I am having a hard time finding any information on makeRequest that&amp;#39;s useful.
The latest example that actually does something, albeit just an error, is this:


    function init()    {

        var geturl = &amp;quot;http://www.w3.org&amp;quot;;

        var target = document.getElementById(&amp;#39;heading&amp;#39;);

       var os_params = {};

        try {

            os_params[opensocial.ContentRequestParameters.METHOD] = opensocial.ContentRequestParameters.MethodType.GET;

        opensocial.Container.get().makeRequest(geturl, makeRequest_Callback, os_params);

        }catch(er){

        target.style.backgroundColor = &amp;#39;#f00&amp;#39;;

        target.style.color = &amp;#39;#fff&amp;#39;;

        target.innerHTML = er.message;    

        }

    }

   function makeRequest_Callback(response, url, errored) { 

     if (!errored) {                 

     target.innerHTML = &amp;quot;&lt;br /&gt;&amp;quot; + response;

    } else {

      target.innerHTML = &amp;#39;error: &amp;#39; + errored ;

    }

}

init();



The error I get is: Cannot read property &amp;#39;METHOD&amp;#39; of undefined

Basically, all I want to do is be able to send and receive data to and from my host site. This should not be a hard thing to do since it is very common in the majority of applications out there. Why then is there no solid documentation for this? Or is there?

Maybe I just have the wrong function. Does anyone else have this problem? Or do you know of a functional way to contact your app&amp;#39;s host?</description></item><item><title>Local application development with makeRequest</title><link>http://developer.myspace.com/Community/forums/thread/42504.aspx</link><pubDate>Thu, 30 Jul 2009 13:33:50 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42504</guid><dc:creator>Stretch</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42504.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42504</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m currently working on an app that will be making several calls to an external site via makeRequest.&amp;nbsp; However, since I am developing this locally, I don&amp;#39;t have opensocialreference.js or MyOpenSpace.js available for testing in my development environment.&amp;nbsp; Has anyone else had to deal with this?&amp;nbsp; If so, how did you overcome it?&amp;nbsp; I&amp;#39;ve done much googling in an attempt to download these two javascript files, but to no avail...&lt;/p&gt;</description></item><item><title>verifying signed request</title><link>http://developer.myspace.com/Community/forums/thread/42371.aspx</link><pubDate>Sat, 25 Jul 2009 07:57:27 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42371</guid><dc:creator>Simon</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42371.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42371</wfw:commentRss><description>&lt;pre&gt;
i am trying to make a request and verify it, but after reading many docs and posts, i am still not sure how to go about it. i am using an opensocial 0.8 myspace app in the profile surface.

my source is this:
    var params = {};
    params[gadgets.io.RequestParameters.AUTHENTICATION] = gadgets.io.AuthorizationType.SIGNED;
    params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET;
    params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.HTML;
    gadgets.io.makeRequest(url, my_Callback, params);

my server gets this:
        header: X-OpenSocial-Authorization = OPENSOCIAL opensocial_token=&amp;quot;xMq0barNKTEqy7udu0ZwDbRpwskgZXjA+Vg5sCypwfxsEaNBYDkiotVdq1zGvvYopjUrbmtbbjoDwMRjGeTx2I8IGG48QQfBlsETZ3BqC5U=&amp;quot;
        header: X-Opensocial-Owner-Id = 166680141
        header: X-Opensocial-Viewer-Id = 166680141


i was thinking i should verify a signature using my consumer key and secret key, but there is no signature.
do i verify the request using the opensocial_token somehow?
&lt;/pre&gt;</description></item><item><title>Missing required parameter when making request</title><link>http://developer.myspace.com/Community/forums/thread/42049.aspx</link><pubDate>Mon, 06 Jul 2009 16:12:30 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42049</guid><dc:creator>sdepold</dc:creator><slash:comments>1</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42049.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42049</wfw:commentRss><description>&lt;p&gt;Hi folks,&lt;/p&gt;&lt;p&gt;I was just studying the OpenSocial API and was wondering about a missing, required parameter, when using the makeRequest-method with signed authentication.&lt;/p&gt;&lt;p&gt;The API (http://wiki.opensocial.org/index.php?title=Gadgets.io_(v0.8)#Signed_authorization) tells:&lt;/p&gt;&lt;blockquote&gt;opensocial_app_url
&lt;b&gt;Required.&lt;/b&gt; The URL of the application making the
request. Containers may alias multiple application URLs to a single
canonical application URL in the case where an application changes
URLs. &lt;/blockquote&gt;&lt;p&gt;Sending an request in signed mode I don&amp;#39;t get such a parameter.&lt;/p&gt;&lt;p&gt;Is that normal ^^? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Did gadgets.io.makeRequest method change?</title><link>http://developer.myspace.com/Community/forums/thread/42047.aspx</link><pubDate>Mon, 06 Jul 2009 09:42:21 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:42047</guid><dc:creator>Arto</dc:creator><slash:comments>1</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/42047.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=42047</wfw:commentRss><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have video player application which works on profile pages. It first gets users id, and then sends request using gadgets.io.makeRequest to my server, which then returns HTML result. It&amp;#39;s been working for around six months now, until today I noticed it&amp;#39;s broken.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Call with gadgets.io.makeRequest seems to return only some nonsense javascript. Has somethign in that method changed? &lt;/p&gt;&lt;p&gt;&amp;nbsp;Here&amp;#39;s my snippet in short:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var param = {};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[gadgets.io.RequestParameters.AUTHENTICATION] = gadgets.io.AuthorizationType.NONE;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.HTML;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param[gadgets.io.RequestParameters.POST_DATA] = {&amp;quot;user&amp;quot;:OWNER_NAME};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gadgets.io.makeRequest(&amp;quot;http://example.com/&amp;quot;, gotMakeRequest, param); &lt;/p&gt;&lt;p&gt;&amp;nbsp;and in function gotMakeRequest I just set c.innerHTML = response;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;EDIT: I&amp;#39;m using Opensocial 0.7 &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Protecting your URLs that return data</title><link>http://developer.myspace.com/Community/forums/thread/40895.aspx</link><pubDate>Fri, 29 May 2009 22:10:48 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:40895</guid><dc:creator>Thomas</dc:creator><slash:comments>2</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/40895.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=40895</wfw:commentRss><description>When requesting data from our webserver using the opensocial API call makeRequest, we can either post or get data using the code below&lt;br /&gt;&lt;br /&gt;&lt;i&gt;function getFriendList() {&lt;br /&gt;var url = &amp;#39;http://apps.yo.com/widgets/send_item/opensocial/profile_summary?user_id=&amp;#39; + gViewer.getId();&lt;br /&gt;var params = {};&lt;br /&gt;params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET;&lt;br /&gt;gadgets.io.makeRequest(url, getFriendListCallback, params);&lt;br /&gt;}&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As we can see, looking at the source of our page anyone can use the url to create they&amp;#39;re own apps.&lt;br /&gt;&lt;br /&gt;I can use &lt;i&gt;$referrer = $_SERVER[&amp;#39;HTTP_REFERER&amp;#39;];&lt;/i&gt; in PHP to know the request is coming from MySpace and so block any requests from other domains.&lt;br /&gt;&lt;br /&gt;But what is there to stop another MySpace Dev from creating an application that uses my webserver?&lt;br /&gt;</description></item><item><title>[gadgets.io.getProxyUrl] Got HTTP Error 400 Missing Token Parameter</title><link>http://developer.myspace.com/Community/forums/thread/39596.aspx</link><pubDate>Fri, 01 May 2009 19:06:03 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:39596</guid><dc:creator>Brojnev</dc:creator><slash:comments>4</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/39596.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=39596</wfw:commentRss><description>Hi there!
&lt;br /&gt;&lt;br /&gt;
I am loading a swf file (97KB) via a proxied url provided by gadgets.io.getUrlProxy.

&lt;br /&gt;&lt;br /&gt;
I got a HTTP error 400 Missing Token Parameter loading the url returned by &lt;i&gt;getProxyUrl&lt;/i&gt; whereas :
&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;there is no token parameter for that request (or it is undocumented)&lt;/li&gt;
&lt;li&gt;it works perfectly in igoogle sandbox&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Here a abstract of my code:
&lt;br /&gt;
&lt;pre&gt;

var swfurl = gadgets.io.getProxyUrl(&amp;quot;http://www.example.com/loader.swf&amp;quot;)

// Load swf via Swiff: http://mootools.net/docs/core/Utilities/Swiff
var loader = new Swiff(
	swfurl,
	{
		id: &amp;quot;swf-loader&amp;quot;,
		height:&amp;quot;803&amp;quot;,
		width:&amp;quot;760&amp;quot;,
		container: $(&amp;#39;flashContent&amp;#39;),
		vars: flashVars
	}
);
&lt;/pre&gt;
&lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is there any token parameter for getProxyUrl (like the ones for makeRequest) that is not documented?&lt;/li&gt;
&lt;li&gt;Is there any token parameter for getProxyUrl that &lt;b&gt;is&lt;/b&gt; documented but I did not read the good documentation?&lt;/li&gt;
&lt;li&gt;Have I done something wrong?&lt;/li&gt;
&lt;li&gt;Does someone else got that problem?
&lt;li&gt;Is it the good place to ask such questions?&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you!</description></item><item><title>XML Parsing Error...sometimes</title><link>http://developer.myspace.com/Community/forums/thread/39151.aspx</link><pubDate>Wed, 22 Apr 2009 01:35:17 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:39151</guid><dc:creator>JUS</dc:creator><slash:comments>4</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/39151.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=39151</wfw:commentRss><description>&lt;p&gt;Maybe 1 out of 10 times I get the following text returned to my app&amp;#39;s callback after calling makeRequest.&amp;nbsp; This text is the value of a child named #text.&lt;/p&gt;&lt;p&gt;&amp;nbsp; XML Parsing Error: syntax error Location: http://api.msappspace.com/apprendering/04212009061545/1_0_0/render.app?opensocial_token=3zRVqTkv5snsbvKJs7UDn9333y5%2bO6M59iBVn8%2fuguu0XsPkGFpRbG4I6Uu1Whon7JF8H6BeIoSIlzpfLa%2fHrxf4hGT%2fV%2f88LYVrS94qotM%3d&amp;amp;opensocial_surface=profile.right&amp;amp;perm=%5b%22DP%22%2c%22DH%22%2c%22UT%22%2c%22UF%22%2c%22RN%22%2c%22PB%22%2c%22SN%22%5d&amp;amp;ownerId=185321753&amp;amp;viewerId=185321753&amp;amp;installState=1&amp;amp;country=us〈=en&amp;amp;mc=UOC%2cECC%2cRSAMR Line Number 1, Column 1:&lt;/p&gt;&lt;p&gt;I don&amp;#39;t believe this is related to anything returned by my server because like I said, most of the time it works and I don&amp;#39;t change any input.&amp;nbsp; It almost seems like some sort of race condition but I am calling makeRequest inside my &amp;quot;init&amp;quot; function which is called by&amp;nbsp; gadgets.util.registerOnLoadHandler(init);&lt;/p&gt;&lt;p&gt;Has anyone seen anything like this before or have any ideas why this is happening? Can someone please help me make sense of the text returned within the response?&amp;nbsp; Thanks for the help!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>makeRequest POST, json return is not parsed into callback parameter</title><link>http://developer.myspace.com/Community/forums/thread/39445.aspx</link><pubDate>Wed, 29 Apr 2009 07:07:14 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:39445</guid><dc:creator>Markus</dc:creator><slash:comments>1</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/39445.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=39445</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;p&gt;I am executing a POST based makeRequest and it actually looks OK from the request data itself - I am getting return code 201 (the post creates a new entry on my server), the response has JSON as content type and it also has data. Problem is that the callback parameter which should give me access to the JSON data shows an internal error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does makeRequest not support any other return code than 200 as success? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class="sourceRowText"&gt;  function responseDataToChartGeneration(obj, url, errored)&lt;/span&gt;&lt;/p&gt;&lt;div class="sourceRow"&gt;&lt;a class="sourceLine"&gt;45&lt;/a&gt;&lt;span class="sourceRowText"&gt;  { debugger;&lt;/span&gt;&lt;/div&gt;&lt;div class="sourceRow"&gt;&lt;a class="sourceLine"&gt;46&lt;/a&gt;&lt;span class="sourceRowText"&gt;    alert(obj.rc);trace(obj.rc);&lt;/span&gt;&lt;/div&gt;&lt;div class="sourceRow"&gt;&lt;a class="sourceLine"&gt;47&lt;/a&gt;&lt;span class="sourceRowText"&gt;    alert(obj.text);trace(gadgets.util.escapeString(obj.text));&lt;/span&gt;&lt;/div&gt;&lt;div class="sourceRow"&gt;&lt;a class="sourceLine"&gt;48&lt;/a&gt;&lt;span class="sourceRowText"&gt;    alert(obj.data.etag);&lt;/span&gt;&lt;/div&gt;&lt;div class="sourceRow"&gt;&lt;a class="sourceLine"&gt;49&lt;/a&gt;&lt;span class="sourceRowText"&gt;  }&lt;/span&gt;&lt;/div&gt;&lt;div class="sourceRow"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="sourceRow"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="sourceRow"&gt;obj.errorCode = &amp;quot;internalError&amp;quot;&lt;/div&gt;&lt;div class="sourceRow"&gt;obj.errorMessage = &amp;quot;Created&amp;quot;&lt;/div&gt;&lt;div class="sourceRow"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="sourceRow"&gt;Crazy thing is that the response has (success!) return code 201 and text &amp;quot;Created&amp;quot; as well &lt;br /&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;The response also carries the following JSON:&lt;/p&gt;&lt;pre&gt;{&amp;quot;uri&amp;quot;:&amp;quot;\/people\/5231c361-16b9-012c-e781-4040ad2df35b&amp;quot;,&amp;quot;etag&amp;quot;:&amp;quot;5231c360-16b9-012c-e781-4040ad2df35b&amp;quot;&lt;br /&gt;,&amp;quot;last_modified&amp;quot;:&amp;quot;Wed, 29 Apr 2009 07:00:17 GMT&amp;quot;,&amp;quot;ok&amp;quot;:true}&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;Sample Code:&lt;/pre&gt;&lt;pre&gt;POST makeRequest Test&lt;br /&gt;&lt;br /&gt;---------&lt;br /&gt;      &amp;lt;div id=&amp;#39;message&amp;#39; style=&amp;#39;margin: 4px&amp;#39;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;---------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&lt;b&gt;function&lt;/b&gt; trace(msg) &lt;br /&gt;{&lt;br /&gt;    &lt;u&gt;document&lt;/u&gt;.getElementById(&amp;#39;message&amp;#39;).innerHTML += msg + &amp;#39;&amp;lt;br&amp;gt;&amp;#39;;&lt;br /&gt;} &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;  &lt;b&gt;function&lt;/b&gt; responseDataToChartGeneration(obj, url, errored)&lt;br /&gt;  { debugger;&lt;br /&gt;    &lt;u&gt;alert&lt;/u&gt;(obj.rc);trace(obj.rc);&lt;br /&gt;    &lt;u&gt;alert&lt;/u&gt;(obj.text);trace(gadgets.util.escapeString(obj.text));&lt;br /&gt;    &lt;u&gt;alert&lt;/u&gt;(obj.data.etag);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  &lt;b&gt;function&lt;/b&gt; onLoadHandler()&lt;br /&gt;  {debugger;&lt;br /&gt;    &lt;b&gt;var&lt;/b&gt; params = {};&lt;br /&gt;  &lt;br /&gt;    params[gadgets.io.RequestParameters.METHOD]       = gadgets.io.MethodType.POST;&lt;br /&gt;    params[gadgets.io.RequestParameters.POST_DATA]    = &amp;quot;{\&amp;quot;test\&amp;quot;:[{\&amp;quot;attr1\&amp;quot;:0,\&amp;quot;attr2\&amp;quot;:\&amp;quot;yellow\&amp;quot;,\&amp;quot;attr3\&amp;quot;:\&amp;quot;val3\&amp;quot;,\&amp;quot;attr4\&amp;quot;:\&amp;quot;val4\&amp;quot;}]}&amp;quot;;&lt;br /&gt;    params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.JSON;&lt;br /&gt;    params[opensocial.ContentRequestParameters.AUTHENTICATION] = opensocial.ContentRequestParameters.AuthenticationType.NONE;&lt;br /&gt;    params[gadgets.io.RequestParameters.HEADERS] = {&amp;quot;Content-Type&amp;quot;:&amp;quot;application/json&amp;quot;};   &lt;br /&gt;    gadgets.io.makeRequest(&amp;quot;http://data.phonefriends.socialsaver.net/people&amp;quot;, responseDataToChartGeneration, params);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  onLoadHandler();&lt;br /&gt;&amp;lt;/script&amp;gt; &amp;nbsp;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Regards, Markus &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>please help me very imprtant</title><link>http://developer.myspace.com/Community/forums/thread/38350.aspx</link><pubDate>Thu, 02 Apr 2009 19:38:03 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:38350</guid><dc:creator>Saleh AlBelwi</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/38350.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=38350</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;all&lt;br /&gt;&amp;nbsp;&lt;br /&gt;I want an app&amp;nbsp;has abiltiy to extract information profiles(persanal info,interests , friends ,email ...etc ) for my friend if add this app in myspace&amp;nbsp; then send these above information for me if that an avaiable and print on this page .&lt;br /&gt;&amp;nbsp;&lt;br /&gt;please help me as soon as possible and good luck for you&lt;br /&gt;&amp;nbsp;&lt;br /&gt;best wishes&lt;br /&gt;saleh&lt;/p&gt;</description></item><item><title>gadgets makerequest not passing params to IE, Opera</title><link>http://developer.myspace.com/Community/forums/thread/29857.aspx</link><pubDate>Sat, 29 Nov 2008 16:00:20 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:29857</guid><dc:creator>Robin's Fiance</dc:creator><slash:comments>1</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/29857.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=29857</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m using this basic script to move info between my PHP pages and
the portion hosted on myspace.&amp;nbsp; My problem comes up in that it works
fantastically in Firefox, but Opera and IE are not receiving any POSTed
variables at all.&amp;nbsp; I print_r both $_GET and $_POST and there is nothing
there, except for the standard variables that myspace sends through.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here is the function doing the work:&lt;/p&gt;&lt;p&gt;function getPageConts(remote_page, add_vals) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp; var req_params = {};&lt;br /&gt;&lt;br /&gt;&amp;nbsp; req_params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; req_params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST&lt;br /&gt;&lt;br /&gt;&amp;nbsp; req_params[gadgets.io.RequestParameters.POST_DATA] = gadgets.io.encodeValues(add_vals);&lt;br /&gt;&lt;br /&gt;&amp;nbsp; var req = gadgets.io.makeRequest(app_host + remote_page, showGameFrame, req_params);&lt;br /&gt;&lt;br /&gt;}&lt;/p&gt;Where
add_vals is a string that I am passing with the action variables for a
page.&amp;nbsp; In all cases, remote_page is set properly and the add_vals do
not differ between browsers.&amp;nbsp; Is there something else I should be
setting that IE/Opera expects? </description></item><item><title>response for gadgets.io.makerequest</title><link>http://developer.myspace.com/Community/forums/thread/28683.aspx</link><pubDate>Thu, 20 Nov 2008 00:10:54 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:28683</guid><dc:creator>Ben Hall</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/28683.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=28683</wfw:commentRss><description>&lt;p&gt;When I use the gadgets.io.makerequest I am getting a response without any problem...&amp;nbsp; My question is what is the response...&amp;nbsp; Here is what I was returned for 3 attempts:&lt;/p&gt;&lt;p&gt;6a3b3793c36bb35e9d23814b963a9256,0&lt;/p&gt;&lt;p&gt;b32a78bef953c7149fd1a9fbed728051,1&lt;br /&gt;&lt;/p&gt;&lt;p&gt;a027a306d3f7667bb17bc5896cefe702,1 &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Specifically what is the difference between the 0 and the 1??&lt;/p&gt;&lt;p&gt;I found the documentation on the gadgets.io.makerequest function but it doesn&amp;#39;t say what the return values are??? &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Why is the fetched html content (via makeRequest) not rendered?</title><link>http://developer.myspace.com/Community/forums/thread/28663.aspx</link><pubDate>Wed, 19 Nov 2008 21:47:54 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:28663</guid><dc:creator>Mary</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/28663.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=28663</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;makeRequest seems to be able to fetch contents but the fetched html doc is displayed as is (pure text) inside the app on my home page.&amp;nbsp;&lt;/p&gt;Why isn&amp;#39;t it rendered? What should I do to get it rendered?&lt;br /&gt;</description></item><item><title>Requests to non-DNS style hosts are not permitted</title><link>http://developer.myspace.com/Community/forums/thread/4252.aspx</link><pubDate>Fri, 14 Mar 2008 00:12:14 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:4252</guid><dc:creator>Roger</dc:creator><slash:comments>8</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/4252.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=4252</wfw:commentRss><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;&lt;p&gt;I started getting the following error just a few secs ago when doing a makeRequest to my server:&lt;/p&gt;&lt;p&gt;&amp;quot;Requests to non-DNS style hosts are not permitted&amp;quot;&lt;/p&gt;&lt;p&gt;Yes, I&amp;#39;m doing makeRequests to an IP instead of to a DNS style host, but I don&amp;#39;t know the reason of this change (without previous notice) considering that calls to an IP were supported before (actually, I would say it&amp;#39;s better for you as it reduces your DNS servers load). Please tell us if this is a bug or it&amp;#39;s going to work this way otherwise. &lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Roger.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Still Getting Invalid Timestamps</title><link>http://developer.myspace.com/Community/forums/thread/4460.aspx</link><pubDate>Fri, 14 Mar 2008 15:25:45 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:4460</guid><dc:creator>Coomer</dc:creator><slash:comments>2</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/4460.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=4460</wfw:commentRss><description>&lt;p&gt;Often, SIGNED MakeRequest calls are trying to hit my server with timestamps generated in the past. The last time I saw this error, the timestamp generated was 1205060340, while the timestamp my server generated was 1205508019. That&amp;#39;s over a five day difference, and completely breaks my OAuth authentication and generates errors, which are turning off lots of new potential users.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Anyone from Myspace have any idea as to what&amp;#39;s going on here? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>OAuth Authorize.aspx internal server error</title><link>http://developer.myspace.com/Community/forums/thread/3544.aspx</link><pubDate>Tue, 11 Mar 2008 16:14:37 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:3544</guid><dc:creator>Andrew</dc:creator><slash:comments>9</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/3544.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=3544</wfw:commentRss><description>&lt;p&gt;When making an OAuth request to http://api.myspace.com/authorize, after authorizing I get a &amp;#39;500 Internal Server Error&amp;#39; response which returns an html page with a generic Runtime Error message, instead of redirecting to my callback.&lt;/p&gt;&lt;p&gt;This also happens using the OAuth Testing Tool. Is there a problem with Authorize.apsx? or is it only happening for me. &lt;/p&gt;&lt;p&gt;Or perhaps I&amp;#39;m doing something wrong. But I can successfully request an &amp;quot;oauth_token&amp;quot; by generating a http://api.myspace.com/request_token query with the appropriate parameters, so I know that side of it is fine.&lt;/p&gt;&lt;p&gt;The strange thing is that &amp;#39;/authorize&amp;#39; did actually work once for me, and I was even able to successfully request an access token directly after it.. but I haven&amp;#39;t been able to repeat this success.&lt;/p&gt;&lt;p&gt;Please help!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>OAuth Testing Tool vs makeRequest signature (!=)</title><link>http://developer.myspace.com/Community/forums/thread/3394.aspx</link><pubDate>Mon, 10 Mar 2008 19:42:04 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:3394</guid><dc:creator>► Ҝėvȋń ◄ ♂</dc:creator><slash:comments>9</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/3394.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=3394</wfw:commentRss><description>&lt;p&gt;The OAuth testing tool (&lt;a href="http://developer.myspace.com/Modules/APIs/Pages/OAuthTool.aspx"&gt;http://developer.myspace.com/Modules/APIs/Pages/OAuthTool.aspx&lt;/a&gt;), when provided with the paramaters I recieve on my server, generates a different signature from what was provided in the request!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;consumerKey&lt;/strong&gt;: &amp;quot;http%3a%2f%2fwww.myspace.com%2f330069419&amp;quot;&lt;br /&gt;&lt;strong&gt;consumerSecret&lt;/strong&gt;: &amp;quot;&lt;font color="#a31515" size="2"&gt;&lt;font color="#000000"&gt;097a85c2d8064e57b6004f763a177c94&amp;quot;&amp;nbsp;&amp;nbsp; // sorry, isn&amp;#39;t the real CS; email me if necessary?&lt;br /&gt;&lt;strong&gt;token&lt;/strong&gt;: &amp;quot;&amp;quot;&lt;br /&gt;&lt;strong&gt;tokenSecret&lt;/strong&gt;: &amp;quot;&amp;quot;&lt;br /&gt;&lt;strong&gt;timeStamp&lt;/strong&gt;: &amp;quot;1205177138&amp;quot;&lt;br /&gt;&lt;strong&gt;nonce&lt;/strong&gt;: &amp;quot;633407739389858938&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;generated base string:&lt;br /&gt;&lt;/strong&gt;GET&amp;amp;http%3A%2F%2Fwebster.shelfari.com%2Fws%2Fjson%2FOSActivity_Poll.ashx%2FgetPoll&amp;amp;0%3D5%261%3D10002%26jsonpid%3D0%26oauth_consumer_key%3Dhttp%253A%252F%252Fwww.myspace.com%252F330069419%26oauth_nonce%3D633407739389858938%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1205177138%26oauth_token%3D&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#a31515"&gt;&lt;font color="#000000"&gt;&lt;strong&gt;Generated signature:&lt;br /&gt;&lt;/strong&gt;Su/v7ING3n5Q88IOZEBCG6AXN4Q=&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#a31515"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#a31515"&gt;&lt;font color="#000000"&gt;Which is the &lt;strong&gt;&lt;em&gt;exact &lt;/em&gt;&lt;/strong&gt;value that the OAuth tool gives!&amp;nbsp; But the signature that is sent with the request is &lt;strong&gt;&lt;em&gt;different&lt;/em&gt;&lt;/strong&gt;!&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#a31515"&gt;&lt;font color="#000000"&gt;Another concern, is that the &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#a31515"&gt;&lt;font color="#000000"&gt;OAuth tool does not include &amp;quot;oauth_version=1.0&amp;quot; in the generated string, which many of the threads in various forums include.&amp;nbsp; Is this requried?&amp;nbsp; It doesn&amp;#39;t seem to fix my issue...&amp;nbsp; I can however, take values from the OAuth tool, run it though my server, and it&amp;#39;ll verify the signature just fine.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I&amp;#39;ve tried to have the OAuth tool hit my server directly, but it returns the following error:&lt;br /&gt;&amp;quot;An error occured executing this request. Please see the trace below: Unable to connect to the remote server&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Thoughts?&lt;br /&gt;Kevin&lt;br /&gt;kd &lt;a href="mailto:a@t"&gt;a@t&lt;/a&gt;&amp;nbsp;shelfari.com &lt;/font&gt;&lt;/p&gt;</description></item><item><title>ContentType.HTML returning object instead of Text</title><link>http://developer.myspace.com/Community/forums/thread/25036.aspx</link><pubDate>Wed, 22 Oct 2008 14:48:08 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:25036</guid><dc:creator>Gyuri</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/25036.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=25036</wfw:commentRss><description>&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to do something relaticvely simple. Just want to retrieve a chunk of HTML that can be put on someones profile page based on tehir myspace user id. For some reason the ContentType.HTML keeps giving me an Object back instead of just plain HTML which I can plug into a div. What am I doing wrong?&lt;/p&gt;&lt;p&gt;Thank you! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;var os;&lt;br /&gt;var dataReqObj;&lt;br /&gt;&lt;br /&gt;function init() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; os = opensocial.Container.get();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataReqObj = os.newDataRequest();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var viewerReq = os.newFetchPersonRequest(opensocial.DataRequest.PersonId.OWNER);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataReqObj.add(viewerReq);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataReqObj.send(requestNinjaInfo);&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;function requestNinjaInfo(data) {&lt;br /&gt;&amp;nbsp; var viewer = data.get(opensocial.DataRequest.PersonId.OWNER).getData();&lt;br /&gt;&amp;nbsp; var viewerId = viewer.getId();&lt;br /&gt;&amp;nbsp; var params = {};&lt;br /&gt;&amp;nbsp; params[opensocial.ContentRequestParameters.CONTENT_TYPE] = opensocial.ContentRequestParameters.ContentType.HTML;&lt;br /&gt;&amp;nbsp; var url = &amp;quot;http://www.duelingninjas.com/ninjas/myspace_profile/&amp;quot;+viewerId ;&lt;br /&gt;&amp;nbsp; opensocial.makeRequest(url, response, params);&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;function response(obj) {&lt;br /&gt;&amp;nbsp; document.getElementById(&amp;quot;profile&amp;quot;).innerHTML = obj;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;init();&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;profile&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/p&gt;</description></item><item><title>makeRequest and 302 responses</title><link>http://developer.myspace.com/Community/forums/thread/24386.aspx</link><pubDate>Thu, 16 Oct 2008 14:13:41 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:24386</guid><dc:creator>Jarkko Laine</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/24386.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=24386</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;A common way for a web app to handle form submissions is to redirect the user to a new url e.g. after a new item has been created. The normal way to do this is to use the 302 HTTP response code, which will cause the browser to load the provided uri.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t know if it&amp;#39;s coincidental or not, but upon a 302 response, makeRequest will respect it and load the provided url, feeding its body to the handler function. This is great, because it means we don&amp;#39;t have to build separate dispatch logic to our OpenSocial Javascript code to handle these cases.&lt;/p&gt;&lt;p&gt;My first question is, is this a supported behaviour, i.e. can we depend on it working in the future? Or is it just a coincidence?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Then we come to the problem. The OAuth information is not sent anymore with the new request. So makeRequest gets a 302 response, follows it loading the new url, but does not sign the new request, which makes the whole functionality broken. So what does the MDP team think, is this something that should work or is it just a coincidental gimmick we shouldn&amp;#39;t rely on? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>OAuth - php4</title><link>http://developer.myspace.com/Community/forums/thread/5919.aspx</link><pubDate>Thu, 27 Mar 2008 02:21:57 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:5919</guid><dc:creator>Neil</dc:creator><slash:comments>2</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/5919.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=5919</wfw:commentRss><description>&lt;p&gt;I found the following OAuth library - &lt;/p&gt;&lt;p&gt;http://oauth.googlecode.com/svn/code/php/OAuth.php&lt;/p&gt;&lt;p&gt;I&amp;#39;m using php4, and am going through the process of trying to convert it to work, but just wanted to check if anybody has a good resource to check out.&amp;nbsp; Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Profile Surface</title><link>http://developer.myspace.com/Community/forums/thread/24278.aspx</link><pubDate>Wed, 15 Oct 2008 09:59:53 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:24278</guid><dc:creator>Thomas</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/24278.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=30&amp;PostID=24278</wfw:commentRss><description>&lt;p&gt;I have created a small PHP script, tha t will generate a Content-type: image/png on the fly, using PHP&amp;#39;s GD library.&lt;/p&gt;&lt;p&gt;I would like to install this &amp;quot;image&amp;quot; into user&amp;#39;s profiles when they install our app.&amp;nbsp; All I wish to install in the profile is a simple &amp;lt;img src=&amp;#39;http://mydowmin.com/somefile.php?id=xxxxxxx&amp;#39;&amp;gt;&amp;nbsp; where xxxxxxx is the id of the myspace user that owns the profile.&lt;/p&gt;&lt;p&gt;&amp;nbsp;My PHP is admirable, but my JavaScript abilities are less than that of a beginner.&lt;/p&gt;&lt;p&gt;I have been told that what I want is to use opensocial, to get the user id, then open an iframe using my php file and it&amp;#39;s single parameter from there.&lt;/p&gt;&lt;p&gt;Any assistance would be appreciated!&lt;/p&gt;&lt;p&gt;Thank you! &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>