MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

How to add a link in message of postTo function.

Last post 03-04-2009 6:37 PM by rondata. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-03-2009 8:52 PM

    How to add a link in message of postTo function.

    Hello everyone. I have a problem when try to sendmessage to User.

    I follow this example: http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=124833

    I have a question: How to add a link to Title (Subject) or Message?

    I try to use <a> in both but nothing happens.

    I try to use ajax to get response and assign to message variable. In that page, i just use tag <a> and some text. The code for that page looks like:

    See how nice <a href="http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=xxxxxx&appParams=%7B%22presentId%22%3A{$appid}%7D%22">{$appname}</a> I've got.

    $appid and $appname are got from database. I'm using PHP and smarty in that page.

    It looks good because I can see the link in the Message.

    When I open  message at Inbox. The content makes me surprise:

    See how nice <a href="http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=xxxxxx&appParams=%7B%22presentId%22%3A10<br />%7D%22">jewelry store</a> I've got.

    Why is a <br /> added to the link???

    Does anyone know how to solve  this problem? Please help me. Thank you very much.

    Filed under:
  • 03-03-2009 9:14 PM In reply to

    Re: How to add a link in message of postTo function.

    Let me check into this in the AM

    thanks

    Rhonda

     

  • 03-04-2009 5:40 PM In reply to

    Re: How to add a link in message of postTo function.

     @Rhonda

    You are so kind. I'm looking forward to hearing from you soon.

  • 03-04-2009 6:37 PM In reply to

    Re: How to add a link in message of postTo function.

     I've sent the info in and waiting with you for more info :)

Page 1 of 1 (4 items)