MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Application QA - Visitors Who Do Not Have the App Installed

Hey there Developers,

We see some apps being denied for the same reasons.  So I thought we would let you know what’s going on so you can better QA your application and cut the back and forth some of you may have experienced.
  • Issue:  When a visitor [user who does not have the app installed] visits the profile of a user who has the app installed:

    • the application does not properly load on the Profile Surface;

    • the visitor is taken to the application Canvas but nothing loads;

    • the visitor is taken to the application Canvas but the user’s information is populated (the application thinks the visitor is the user); or

    • the visitor is taken to the application Canvas but none of the application’s personalized content loads (the application does not know who the user is).
Make sure to check functionality for all instances of how a user may interact with your application (because we do Smile).

Let me know if you have any questions.

Thanks!
Johnny

Comments

 

Trevor Jordet said:

ok so i am having this issue, but I cannot find any documentation on how to fix it.

my code works if the app is installed, but if a user without the app installed views my page, it does not... what am i missing here???

I am doing a very simple thing.   getting the owner id and viewer id and passing those variables to my flash application.  :

function init() {        

os = opensocial.Container.get();    

dataReqObj = os.newDataRequest();  

var ownerReq= os.newFetchPersonRequest(opensocial.DataRequest.PersonId.OWNER);    

var viewerReq = os.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER);    

dataReqObj.add(ownerReq);          

dataReqObj.add(viewerReq);          

dataReqObj.send(viewerResponse);

}

function viewerResponse(data) {    

var owner = data.get(opensocial.DataRequest.PersonId.OWNER).getData();    

var viewer = data.get(opensocial.DataRequest.PersonId.VIEWER).getData();    

ownerID = owner.getId();    

userID = viewer.getId();    

AC_FL_RunContent( 'codebase','download.macromedia.com/.../swflash.cab','width','280','height','280','title','mp3candy','src','www.freelance-photographer.us/.../mp3playermySpace2','quality','high','pluginspage','www.adobe.com/.../download.cgi','flashvars','fb_sig_profile=m'+ownerID+'&fb_sig_user=m'+userID+'&ms=y','wmode', 'transparent','movie','www.freelance-photographer.us/.../mp3playermySpace2' ); //end AC code

}    

June 19, 2008 9:49 PM
 

Trevor Jordet said:

the ac_fl_runcontent code was screwed by the blog comments, but the relevant code is the following:

'fb_sig_profile=m'+ownerID+'&fb_sig_user=m'+userID

June 19, 2008 9:54 PM