Hi Anuj,

Is there any error that you get?

Can you consider using VIEWER_FRIENDS or OWNER_FRIENDS rather built
the array urself?

Cheers!
Rajiv
rajspace.net

On 5/20/08, Anuj <[EMAIL PROTECTED]> wrote:

> I am trying to use share feature in my app using this function
>
>
> // i have constructed this array before. It has viewer friends ids
> _NF_VIEWER_IDS={aaaaaaaaa,bbbbbbbb,cccccccccc,.......};
>
> function sendEmail() {
>   var params = [];
>   params[opensocial.Message.Field.TITLE]=\"Hola!\";
>   var body=\"Como estas?\";
>   var message = opensocial.newMessage(body, params);
>   var recipient = _NF_VIEWER_IDS;
>   opensocial.requestSendMessage(recipient, message);
>
> };
>
> When i call this function, it doesnt show me Share popUp Box.
> But in the above function if i use
> var recipient = globalOwner.getId(); it works fine and im able to send
> an email to the app owner.
>
> I was going through this doc
> http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.html#requestSendMessage
>
> It says, we need to construct array of IDs to send email to viewers
> friend.
> How do i construct this array?
>
> Any help would be appreciated.
>
> -Anuj
> www.nachofoto.com
> >
>

--
-------------------------------------------------------------------------------------------------
Stockoogle.in > Harnessing Google power for your equity analysis
-------------------------------------------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to