0

Do I need to implement the link "Click here to add this Application >>" on small view

Do I need to implement the link "Click here to add this Application >>" on small view?

Is it possible to add a call to YML to indicate if the viewer has app installed.

thanks,
pogo

by
8 Replies
  • Hi pogo,

    If a user is displaying your application on the small view, they will have it installed - so there is no need to check for that parameter. If you want some dynamic nature to the small view (for instance a button to jump to the full view and update your settings, and thus your small view) you can set the default content to a generic message. When the user then hits the large view, you can update the small view with more detailed specific information.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    QUOTE (CocoBean @ Feb 2 2009, 10:24 AM) <{POST_SNAPBACK}>
    Do I need to implement the link "Click here to add this Application >>" on small view?

    Is it possible to add a call to YML to indicate if the viewer has app installed.

    thanks,
    pogo
    0
  • QUOTE (Jon @ Feb 2 2009, 10:46 AM) <{POST_SNAPBACK}>
    Hi pogo,

    If a user is displaying your application on the small view, they will have it installed - so there is no need to check for that parameter. If you want some dynamic nature to the small view (for instance a button to jump to the full view and update your settings, and thus your small view) you can set the default content to a generic message. When the user then hits the large view, you can update the small view with more detailed specific information.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network



    Do you have any inside on how the unauthenticated version of small view on my yahoo is constructed ( After you add the app from "Add Content" on my yahoo page)?
    0
  • When you're creating a new open application, the view that is displayed when you first add an application from "Add Content" is the "Default View". This is the view that will be displayed until the small view is overwritten from the setSmallView method in the SDK. This default view is HTML / CSS / YML only.

    - Jon

    QUOTE (CocoBean @ Feb 2 2009, 04:53 PM) <{POST_SNAPBACK}>
    Do you have any inside on how the unauthenticated version of small view on my yahoo is constructed ( After you add the app from "Add Content" on my yahoo page)?
    0
  • QUOTE (Jon @ Feb 2 2009, 10:26 PM) <{POST_SNAPBACK}>
    When you're creating a new open application, the view that is displayed when you first add an application from "Add Content" is the "Default View". This is the view that will be displayed until the small view is overwritten from the setSmallView method in the SDK. This default view is HTML / CSS / YML only.

    - Jon


    We only display static content in the small view, so it will be configured through the "default content". The only difference is that we display "Click here to add this Application" for user who has not installed our app, but display a playnow button for users who have app installed. Is there a YML if-env call we can use to find out if the current viewer has our app installed.
    0
  • QUOTE (CocoBean @ Feb 3 2009, 10:05 AM) <{POST_SNAPBACK}>
    We only display static content in the small view, so it will be configured through the "default content". The only difference is that we display "Click here to add this Application" for user who has not installed our app, but display a playnow button for users who have app installed. Is there a YML if-env call we can use to find out if the current viewer has our app installed.


    We use java to make server to server calls to YAP REST API (not php nor action script). There's no resource published as setSmallView in YAP social REST API.
    0
  • Hi CocoBean,

    My Yahoo! is not quite the same as Facebook or MySpace regarding the application environment. If you are building an application on My Yahoo! (Open Application), your users will never see an instance where the application is not installed, except in the gallery but that will just be a description and some screenshots (which can be set up when you're editing your application information).

    You will not be able to view another users' My Yahoo! page, so you will not run into the instance (for the current implementation of YAP) where you're viewing the page of your friend and they have an application that you don't have installed (thus displaying the install button). If the user is viewing the application on his/her My Yahoo! page they will have it installed, so you will not need to check for that.

    I hope that answers your question,
    - Jon

    QUOTE (CocoBean @ Feb 3 2009, 10:16 AM) <{POST_SNAPBACK}>
    We use java to make server to server calls to YAP REST API (not php nor action script). There's no resource published as setSmallView in YAP social REST API.
    0
  • QUOTE (Jon @ Feb 3 2009, 10:32 AM) <{POST_SNAPBACK}>
    Hi CocoBean,

    My Yahoo! is not quite the same as Facebook or MySpace regarding the application environment. If you are building an application on My Yahoo! (Open Application), your users will never see an instance where the application is not installed, except in the gallery but that will just be a description and some screenshots (which can be set up when you're editing your application information).

    You will not be able to view another users' My Yahoo! page, so you will not run into the instance (for the current implementation of YAP) where you're viewing the page of your friend and they have an application that you don't have installed (thus displaying the install button). If the user is viewing the application on his/her My Yahoo! page they will have it installed, so you will not need to check for that.

    I hope that answers your question,
    - Jon

    I am confused. So the default view & preview of my app after I click "add content" on my yahoo page, is it constructed automatically using the thumbnail and app description when I set up the app or is it retrieved from the "Default Content" I specified for small view? Sorry for all those questions, don't know if there's a way I can test the "add content" flow from my yahoo page.
    0
  • No worries, let me lay out the different pieces of how the My Yahoo! app display functions. Just to note, by design, My Yahoo! does not have any idea what the state of an application is to a current user.

    Preview Mode in Gallery
    The preview mode will display one of the following:
    - If a custom small view is defined for the application you are previewing (using those setSmallView methods I mentioned earlier - not used in your case) the user will see that small view
    - If there is no custom small view the preview will be the default small view defined for your application
    - If no default small view is defined, it should display an anonymous view sent by YAP (something like a thumbnail, title and description defined for the app)

    When you move your mouse over the preview, an "Add" button modal will pop up over the preview.

    The application on My Yahoo! once installed
    The application itself, once added, will be in an "installed" state for the user. For your application, if the user has no custom small view, they will see the default small view you set up for your application.

    Here's what I suggest for your case
    For your case, I would suggest that you define your default small view using the "Play" button instead of the "Add" button. The only place the add button would be applicable would be in the preview mode, and since an "Add" button modal pops up over the content of the preview, your add button would be of no use as it would not be clickable.

    Just to reiterate, there is not an available tag in YML to determine the installed state of the application. I hope that helps.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    QUOTE (CocoBean @ Feb 3 2009, 10:51 AM) <{POST_SNAPBACK}>
    I am confused. So the default view & preview of my app after I click "add content" on my yahoo page, is it constructed automatically using the thumbnail and app description when I set up the app or is it retrieved from the "Default Content" I specified for small view? Sorry for all those questions, don't know if there's a way I can test the "add content" flow from my yahoo page.
    0

Recent Posts

in YAP