requestSendMessage issue for sending message to owner friends

21 views
Skip to first unread message

patila...@gmail.com

unread,
Apr 4, 2009, 6:36:33 AM4/4/09
to Orkut Developer Forum
Hi,

I have used requestSendMessage to send message:it is sending message
to owner only.Pop up box appears and send message to owner.
I want to send message to owner friends.Plz help me...

Code listed below send message to owner only:
function sendmail(){
var params = {};
params[opensocial.Message.Field.TITLE]="Hello";
var body="How are you ??";
var message = opensocial.newMessage(body, params);
var recipient = opensocial.IdSpec.PersonId.OWNER;
opensocial.requestSendMessage(recipient, message);
}


and if i used this code ..then it is not sending message to owner
friends ..plz help me.. it's urgent...

function sendmail(){
var params = {};
params[opensocial.Message.Field.TITLE]="Hello";
var body="How are you ??";
var message = opensocial.newMessage(body, params);
var recipient = opensocial.IdSpec.Group.OWNER_FRIENDS;
opensocial.requestSendMessage(recipient, message);
}

Thanks.

Vijaya

unread,
Apr 8, 2009, 2:36:47 AM4/8/09
to Orkut Developer Forum
In the second case, you should see a popup box also, and when you
start typing in the name of one of the owners' friends (first 2
letters or so) you should see a suggestion for the friends and you can
pick from that list.

Is this not what you're seeing?

- Vijaya

Christoph Atteneder

unread,
Mar 16, 2011, 4:35:21 AM3/16/11
to opensoci...@googlegroups.com
Hi,
I've the same problem. When opening the requestSendMessage dialog with OWNER_FRIENDS I get following screen, saying "undefinded" in the 'to' input field:

When I enter the first few letters of a friends name I get following JavaScript Error:

a is null

Any idea what's going wrong?

Cheers,

Christoph

Leandro

unread,
Mar 18, 2011, 7:50:51 AM3/18/11
to orkut Developer Forum
I've the same problem. Is that a bug?

Tks.

Leandro
www.criosistemas.com.br
@criosistemas

Talonzor

unread,
Mar 22, 2011, 5:17:43 AM3/22/11
to orkut Developer Forum
I also have this bug, it seems to be broken in the "New" orkut only.
in the Old layout it works.

Leandro

unread,
May 6, 2011, 9:50:09 AM5/6/11
to orkut Developer Forum
Hi guys... is there some solution for this problem?? It still
happening on sandbox and on production :(

Is there any other way to send message to some selected friends?

tks,

Leo
www.criosistemas.com.br/

José Miguel Hernandez

unread,
Aug 5, 2011, 8:08:23 PM8/5/11
to opensoci...@googlegroups.com
I concur, this is broken.

Even if it did work, it lacks the robustness of the facebook JS SDK for sending friend invites. I need to be able to include or exclude specific sets of user id's (perhaps as a dictionary?). We need this to tune our apps to target the correct users.


Thanks,
Jose Hernandez, 
Reply all
Reply to author
Forward
0 new messages