Jason,
I used the ID used in the profile link which isn't the user's open 
social ID.
It's working now.
thnx


OpenSocial Apps Agent wrote:
> Hi ibrahim. I'm also seeing the error when I use the ID provided, although
> it works correctly when I specify a different ID. I also noticed that the
> IDs I tested with (yours and mine) are different lengths -- although this
> doesn't necessarily mean anything, can you verify that the ID you provided
> is complete/correct?
>
> Thanks!
>
> - Jason
>
> Original Message Follows:
> ------------------------
> From: ibrahim okuyucu <[EMAIL PROTECTED]>
> Subject: Re: SendMessage returns "badRequest" in errorCode_
> Date: Fri, 23 May 2008 14:56:48 -0700
>
> Yes this is throwing "badRequest" error for me...
> Another issue with send message:
> The <img> and <a> tags are rendered in the confirmation popup but not 
> displaying correctly in the actual orkut message.
>
>
> Jason wrote:
>   
>> Is this throwing an error for you? It works fine for me when I replace 
>> your ID with one of my friends'.
>>
>> Please try to send your general questions to the group or feedback 
>> queue ([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>) 
>> if possible.
>>
>> - Jason
>>
>> On Fri, May 23, 2008 at 1:35 PM, ibrahim okuyucu <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     Jason,
>>     I run this code in the CodeRunner (hardcoded ID is a friend of my
>>     account);
>>     -----------------------------------------
>>     function SendMsg(toid,title,body){
>>       var params = {};     params[opensocial.Message.Field.TITLE]=
>>     
> title;
>   
>>       var msgObj = opensocial.newMessage(body,params);    
>>     opensocial.requestSendMessage(toid, msgObj, email_cb);
>>     }
>>     function email_cb(data)
>>     {
>>       console.log(data);
>>     }
>>     SendMsg("7128340715058213367","test subject","test body");
>>
>>     ----------------------------------------
>>     Can I preselect a person, or multiple ids?
>>     thnx in advance...
>>
>>     -ibrahim
>>
>>
>>
>>
>> -- 
>> Meet OpenSocial developers:
>> irc://irc.freenode.net/opensocial <http://irc.freenode.net/opensocial> 
>>     
>
>
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
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