0

yml:message

Hi

Can anybody tell me why this code is not working..... from yahoo example
<yml:message>
<input name="subject" type="hidden" value="Hi!" />
<input name="body" type="hidden" value="You got a message!" />
<input type="submit" value="Send the message!" />
</yml:message>

output: In email preview showing along with input boxes

"You have 0 emails remaining today"

and I cannot select any connection.

Pls help

by
11 Replies
  • Hi Pijush,

    So when the message window comes up you are not seeing your connections to select from the window? Just a few questions:
    - Just to make sure, you have connections on your profile right?
    - Can you try adding this to the input list with guid's of the user's you want to message and see if that works: <input name="to" type="hidden" value="ABCD12345,FOO13245">
    - If that doesn't work, can you uninstall and reinstall the application and see if that works? We had reports of user's losing access to their connection data but this should be fixed. If this is the problem please let me know because we'll have to re-open the bug.

    Thanks,
    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    QUOTE (Pijush @ Feb 24 2009, 12:14 AM) <{POST_SNAPBACK}>
    Hi

    Can anybody tell me why this code is not working..... from yahoo example
    <yml:message>
    <input name="subject" type="hidden" value="Hi!" />
    <input name="body" type="hidden" value="You got a message!" />
    <input type="submit" value="Send the message!" />
    </yml:message>

    output: In email preview showing along with input boxes

    "You have 0 emails remaining today"

    and I cannot select any connection.

    Pls help
    0
  • Hi Jon,

    Thank you for your response. I tried many ways then I came YAP forum.
    I have lots of connections in my profile.
    >>When I am using the tag 'yml:friend-selector' to show the list of connections then it is showing connection's name/nickname.
    >>I did use YQL to get the connections data and made a <select> tag then also it is working nice.
    >>I did use guid after getting from YQL response in 'yml:message', but it's not working.
    >>I also use like that-
    <yml:message params="message_landing.php">
    <yml:friend-selector name="to" uid="viewer"/>
    <input name="subject" type="hidden" value="Hi!">
    <input name="body" type="hidden" value="You got a message!">
    <input type="submit" value="Send the message!">
    </yml:message>

    Friend list is coming but in email preview it not showing. I just want to send messages to my connections that what I want. Pls help if there any other way to fulfill the requirement.

    Thanking you

    QUOTE (Jon @ Feb 24 2009, 06:20 AM) <{POST_SNAPBACK}>
    Hi Pijush,

    So when the message window comes up you are not seeing your connections to select from the window? Just a few questions:
    - Just to make sure, you have connections on your profile right?
    - Can you try adding this to the input list with guid's of the user's you want to message and see if that works: <input name="to" type="hidden" value="ABCD12345,FOO13245">
    - If that doesn't work, can you uninstall and reinstall the application and see if that works? We had reports of user's losing access to their connection data but this should be fixed. If this is the problem please let me know because we'll have to re-open the bug.

    Thanks,
    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network
    0
  • hai,,,,

    i want to ask,,,

    why i can make a call from YM??? :u
    0
  • Hi Fely

    Can u pls clarify.....what u asking...
    :r
    0
  • Hi Pijush,

    Sorry for the slow response, have been out of town for a bit. Just to clarify, did you try the three suggestions I mentioned and it still doesn't work? I'll run a few tests and see what I can come up with if this is the case.

    Thanks,
    Jon

    QUOTE (Pijush @ Feb 26 2009, 08:40 PM) <{POST_SNAPBACK}>
    Hi Fely

    Can u pls clarify.....what u asking...
    :r
    0
  • I have lots of connections in my profile.
    >>When I am using the tag 'yml:friend-selector' to show the list of connections then it is showing connection's name/nickname.
    >>I did use YQL to get the connections data and made a <select> tag then also it is working nice.
    >>I did use guid after getting from YQL response in 'yml:message', but it's not working.
    >>I also use like that-
    <yml:message params="message_landing.php">
    <yml:friend-selector name="to" uid="viewer"/>
    <input name="subject" type="hidden" value="Hi!">
    <input name="body" type="hidden" value="You got a message!">
    <input type="submit" value="Send the message!">
    </yml:message>

    Friend list is coming but in email preview it not showing. I just want to send messages to my connections that what I want. Pls help if there any other way to fulfill the requirement.

    QUOTE (Jon @ Feb 27 2009, 12:08 PM) <{POST_SNAPBACK}>
    Hi Pijush,

    Sorry for the slow response, have been out of town for a bit. Just to clarify, did you try the three suggestions I mentioned and it still doesn't work? I'll run a few tests and see what I can come up with if this is the case.

    Thanks,
    Jon
    0
  • I'm looking into this now...I'll post a code sample of a functional yml:message once I test the code out.

    - Jon
    0
  • I've implemented the code sample you provided and it seemed to work well for me. Here's the flow I saw:
    - I selected a friend from the dropdown
    - Clicked the button to send a message
    - The message window popped up with that friend in the list. When I clicked on the "to" field, my full connection list came up to select more friends
    - I clicked to send
    - The person I sent it to got the message

    If that's not what you're seeing I would suggest removing / re-adding the app if you haven't done so already, and if that doesn't work try creating a new app with the same code and see if that will load correctly.

    - Jon
    0
  • But it's not working --- "You have 0 emails remaining today"
    why this message is showing..

    QUOTE (Jon @ Mar 2 2009, 02:13 PM) <{POST_SNAPBACK}>
    I've implemented the code sample you provided and it seemed to work well for me. Here's the flow I saw:
    - I selected a friend from the dropdown
    - Clicked the button to send a message
    - The message window popped up with that friend in the list. When I clicked on the "to" field, my full connection list came up to select more friends
    - I clicked to send
    - The person I sent it to got the message

    If that's not what you're seeing I would suggest removing / re-adding the app if you haven't done so already, and if that doesn't work try creating a new app with the same code and see if that will load correctly.

    - Jon
    0
  • Have you tried sending it to some of your other connections and they didn't see the e-mail either? Have you tried the suggestions I made above?

    - Jon

    QUOTE (Pijush @ Mar 3 2009, 02:27 AM) <{POST_SNAPBACK}>
    But it's not working --- "You have 0 emails remaining today"
    why this message is showing..
    0
  • QUOTE (Jon @ Feb 27 2009, 12:08 PM) <{POST_SNAPBACK}>
    Hi Pijush,

    Sorry for the slow response, have been out of town for a bit. Just to clarify, did you try the three suggestions I mentioned and it still doesn't work? I'll run a few tests and see what I can come up with if this is the case.

    Thanks,
    Jon


    Hi Jon

    Now it's ok. I am using FireFox 3.
    0
  • Recent Posts

    in YAP