0

notifications?

this url talks about notifications:

http://developer.yahoo.com/yap/guide/anato...ifications.html

any more info on how to actually use this and send a notification?

i see this is what profiles uses to send a message?

http://profiles.yahoo.com/get_component.ph...=privatemessage and submitting a form.

uh, any insight into how we can use that in our apps to comm with our connections?

by
4 Replies
  • QUOTE (rooster @ Nov 6 2008, 01:13 AM) <{POST_SNAPBACK}>
    this url talks about notifications:

    http://developer.yahoo.com/yap/guide/anato...ifications.html

    any more info on how to actually use this and send a notification?

    i see this is what profiles uses to send a message?

    http://profiles.yahoo.com/get_component.ph...=privatemessage and submitting a form.

    uh, any insight into how we can use that in our apps to comm with our connections?

    You can send implicit messages using the yml:message tag in your full page view. Here is an example:

    CODE
    <yml:message name="message-tag">
    <input type="hidden" name="image" value="http://farm1.static.flickr.com/42/279286083_000b85496e.jpg?v=0">
    <input type="hidden" name="subject" value="Watch StrongBad now!">
    <input type="hidden" name="body" value="Xavier just sent you a bottle of Dom!!! - Don't take it, it's a bad 1993!!">
    <input type="submit" value="send a bottle of Dom to your friends now!">
    </yml:message>


    You can trigger a share panel with the following code:
    CODE
    <yml:share>
    <input type="submit" value="Share this app">
    </yml:share>


    hope this helps,

    Xavier
    0
  • How do you get the list of ids you sent to using this YML tag?


    QUOTE (Xav @ Nov 6 2008, 04:00 PM) <{POST_SNAPBACK}>
    You can send implicit messages using the yml:message tag in your full page view. Here is an example:

    CODE
    <yml:message name="message-tag">
    <input type="hidden" name="image" value="http://farm1.static.flickr.com/42/279286083_000b85496e.jpg?v=0">
    <input type="hidden" name="subject" value="Watch StrongBad now!">
    <input type="hidden" name="body" value="Xavier just sent you a bottle of Dom!!! - Don't take it, it's a bad 1993!!">
    <input type="submit" value="send a bottle of Dom to your friends now!">
    </yml:message>


    You can trigger a share panel with the following code:
    CODE
    <yml:share>
    <input type="submit" value="Share this app">
    </yml:share>


    hope this helps,

    Xavier
    0
  • And the picture shows up in the window but not in the email. Why is that?


    QUOTE (Xav @ Nov 6 2008, 04:00 PM) <{POST_SNAPBACK}>
    You can send implicit messages using the yml:message tag in your full page view. Here is an example:

    CODE
    <yml:message name="message-tag">
    <input type="hidden" name="image" value="http://farm1.static.flickr.com/42/279286083_000b85496e.jpg?v=0">
    <input type="hidden" name="subject" value="Watch StrongBad now!">
    <input type="hidden" name="body" value="Xavier just sent you a bottle of Dom!!! - Don't take it, it's a bad 1993!!">
    <input type="submit" value="send a bottle of Dom to your friends now!">
    </yml:message>


    You can trigger a share panel with the following code:
    CODE
    <yml:share>
    <input type="submit" value="Share this app">
    </yml:share>


    hope this helps,

    Xavier
    0
  • It works for yml:share, but not for yml:message...

    QUOTE (HenryS @ Nov 20 2008, 02:31 AM) <{POST_SNAPBACK}>
    And the picture shows up in the window but not in the email. Why is that?
    0

Recent Posts

in YAP