MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

How to develop a Myspace Application using Server Side Code

Last post 10-13-2009 7:11 AM by C. 38 replies.
Page 3 of 3 (39 items) < Previous 1 2 3
Sort Posts: Previous Next
  • 11-02-2008 11:35 PM In reply to

    Re: How to develop a Myspace Application using Server Side Code

    Hai Russ,

        I followed your steps to create an application in myspace. How can I retrieve user information through my server side code?  Currently I am using php for  CallbackURL.

        Can you please send me the php server side code to get the user details? 

    Thanks. 

    R
  • 11-12-2008 2:39 AM In reply to

    Re:problem to fetch email

    my code is like this

    var os; var dataReqObj; var html = ''; var heading = ''; var username=''; var myuserid=''; var email=''; //var email= new Array(); function init() { os = opensocial.Container.get(); dataReqObj = os.newDataRequest(); var viewerReq = os.newFetchPersonRequest(opensocial.DataRequest.PersonId.OWNER); dataReqObj.add(viewerReq); dataReqObj.send(viewerResponse); } function viewerResponse(data) { var viewer = data.get(opensocial.DataRequest.PersonId.OWNER).getData(); heading = 'Hello, ' + viewer.getDisplayName(); username= viewer.getDisplayName(); myuserid=viewer.getId(); var thumb = viewer.getField(opensocial.Person.Field.THUMBNAIL_URL); //var profile = viewer.getField(opensocial.Person.Field.EMAILS); //var profile = viewer.getField(opensocial.Email.Field.ADDRESS); document.getElementById('heading').innerHTML = heading; document.getElementById('main').innerHTML = viewer.getField(opensocial.Email); //email=viewer.getField(opensocial.Email); //viewer.getField(opensocial.Person.Field.THUMBNAIL_URL);//viewer.getField(opensocial.Person.Field.ABOUT_ME); } init(); function smyform() { document.myform.action="http://examlpe.org/myspace/test.php"; document.myform.username.value=username; document.myform.myuserid.value=myuserid; document.myform.email.value=email; } but when i post this data, the email is undefined username passed sucessfully thanks in advance.
  • 11-30-2008 1:39 AM In reply to

    Re: How to develop a Myspace Application using Server Side Code

     

  • 12-03-2008 6:08 AM In reply to

    Re: hey

    ☮Skyler[HFL Leader]☮:

    do u know how to make a myspace application cause ihave an idea for mine i have the icons and the name on it alreadybut i cant figure out how to use codes to make the aspects of the app so could u help??

  • 12-03-2008 6:10 AM In reply to

    Re: hey

    u

  • 03-05-2009 4:34 AM In reply to

    Re: How to develop a Myspace Application using Server Side Code

     hi russ

               please help me 

        my problem is to access some variables in the sercer side code. how can access these variables in the code written for canvas/profile (javascript). i got a suggestion that we can done this using jsonp .but how can we done this 

    thanks

    kakka

     

  • 06-09-2009 6:14 AM In reply to

    • Shweta
    • Not Ranked
    • Joined on 05-18-2009
    • Posts 5

    Re: How to develop a Myspace Application using Server Side Code

     Hey........ nice article.

    Can u tell me one thing....... If I wanna show a php page on my profile can I do that? If yes, how?

    Thanks in advance.

    Shweta

    Filed under:
  • 06-10-2009 11:12 AM In reply to

    Re: How to develop a Myspace Application using Server Side Code

    No, because you cannot put iframe on home or profile surfaces. Let me know if you have any questions.

    Rhonda

     

  • 10-13-2009 7:11 AM In reply to

    • C
    • Not Ranked
    • Joined on 10-13-2009
    • Posts 2

    Re: How to develop a Myspace Application using Server Side Code

     nice

Page 3 of 3 (39 items) < Previous 1 2 3