MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Opensocial v0.8 - requestSendMessage and requestShareApp only work on Canvas view?

Last post 05-29-2009 10:20 AM by Test User. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-28-2009 8:06 PM

    • Jim
    • Not Ranked
    • Joined on 04-03-2009
    • Posts 1

    Opensocial v0.8 - requestSendMessage and requestShareApp only work on Canvas view?

    Hi,

    I'm trying to get requestSendMessage and requestShareApp to work, and it appears they don't work in the Profile or Home views, only in Canvas view.  Is this correct behavior?  If so, why can't I send from the other two views?

    Thanks,

    Jim

  • 05-06-2009 11:10 AM In reply to

    Re: Opensocial v0.8 - requestSendMessage and requestShareApp only work on Canvas view?

     What is your app ID?

    Are you still having this problem?
    Rhonda

     

  • 05-29-2009 10:20 AM In reply to

    Re: Opensocial v0.8 - requestSendMessage and requestShareApp only work on Canvas view?

    Jim,

    That is correct. As a rule of thumb: Any api that will show a popup dialog will only work from the Canvas page.

     What some app developers do is to have a shareApp Link on Home or Profile. That link will redirect you to the canvas page. And you pass in an appParam action="shareApp" and when you load the app you check your params.When you get this shareApp action you invoke your shareApp method. 

    It's a workaround. But it works. Check out the FriendSlider app that has this implemented in silverlight.

     

     

Page 1 of 1 (3 items)