Dear All, I am testing with "OpenSocialRuby Client" library, <http://code.google.com/p/opensocial-ruby-client/> And I want to implement the 'opensocial.requestSendMessage' function available in JS library, by using "OpenSocial Ruby Client" library. And I need help and suggestions. When I send the 'friend list' request, the Http packet structure is like this. ########################## T 192.168.0.X:56978 -> orkut.com [AP] GET /social/rest/people/@me/@friends? xoauth_requestor_id=xxxxxxxxxxxxxx&fields=id,dateOfBirth,name,emails,gender ,state,postalCode,ethnicity,relationshipStatus,thumbnailUrl,displayName&oau th_nonce=ZgOCrPcVTr9CFgIcY9PjPRuwQYUIz4awk776Q86us&oauth_signature_method=H MACSHA1&oauth_timestamp=1244079737&oauth_consumer_key=orkut.com %yyyyyyyyyyyy&oauth_version=1.0&oauth_signature=mLTd1%2Bc%2B%2FGak %2BfmqLRui38c5ctI%3D HTTP/1.1..Connection: close..Accept: */*..Host: sandbox.orkut.com.... ########################## According to the REST protocol spec, <http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/ restful-protocol> especially the section <10. Messaging (Optional)>, I think I can make my own "requestSendMessage" function in the Ruby Library. (And of course, JS library already has it) So maybe I need to send the Http POST (or PUT) request and the content of the Http packet should start with like following.. am I right? ########################## PUT /social/rest/messages/{guid}/outbox ########################## Anyway, I created a new class by examining the original FetchPeopleRequest class, but there is no progress because I don't know clearly about the 'proper' packet structure I need to send. Or, is there any way more convenient? Any suggestions or help will be appreciated. Best regards., Bruce.
--~--~---------~--~----~------------~-------~--~----~ 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 opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---