Thanks! I'm waiting (: Lucca Mordente
On Mon, Aug 9, 2010 at 2:50 PM, Robson Dantas <biu.dan...@gmail.com> wrote: > Lucca, > > Looks like great, according to PostActivityTx.java: > > public class PostActivityTx extends Transaction { > private final JSONObject activity = new JSONObject(); > > PostActivityTx(String title, String body) { > super(RequestIds.ACTIVITIES_CREATE, MethodNames.CREATE_ACTIVITIES); > // TODO(birmiwal) change this to USERID_ME when support for this > // is pushed in backend > request.setUserId("@viewer") > .setGroupId(Group.SELF) > .addParameter(Params.ACTIVITY, activity) > .addParameter(Fields.APP_ID, InternalConstants.Values.APP); > Util.putJsonValue(activity, Fields.TITLE, title); > Util.putJsonValue(activity, Fields.BODY, body); > } > } > > Will test it on my lib and back soon. > > Regards, > > Robson > > 2010/8/8 Lucca Mordente <luccamorde...@gmail.com> > > Robson, >> >> here is the JSON i'm sending: >> >> [ >> { >> "method":"activities.create", >> "params":{ >> "userId":["@viewer"], >> "groupId":"@self", >> "activity":{ >> "body":"activity body", >> "title":"activity title" >> }, >> "appId":"@app" >> } >> } >> ] >> >> Thanks! >> Lucca Mordente >> >> On Aug 7, 10:46 am, Robson Dantas <biu.dan...@gmail.com> wrote: >> > Hi Lucca, >> > >> > Can you post the RPC message you are sending ? >> > >> > Robson Dantas >> > >> > 2010/8/6 Lucca Mordente <luccamorde...@gmail.com> >> > >> > >> > >> > > I'm already using the 3 legged method and already posting an activity. >> > >> > > The problem is: nobody but me can see my posted activity! >> > >> > > Any suggestions? >> > >> > > On Aug 6, 9:11 pm, Robson Dantas <biu.dan...@gmail.com> wrote: >> > > > You can post activities outside orkut using 2legged or 3legged oauth >> > > > libraries. >> > >> > > > - to use 2legged you need an opensocial gadget installed on user >> profile; >> > > > - 3 legged you dont need anything, just authenticate and use; >> > >> > > > Libraries: >> > >> > > > 2legged:http://code.google.com/p/opensocial-php-client/ >> > >> > > > <http://code.google.com/p/opensocial-php-client/>3legged: >> > > > Javahttp://code.google.com/p/orkut-os-client/ >> > > > PHPhttp://code.google.com/p/orkut-os-client-php/ >> > >> > > > <http://code.google.com/p/orkut-os-client-php/>Regards, >> > >> > > > Robson Dantas >> > >> > > > 2010/8/6 Lucca Mordente <luccamorde...@gmail.com> >> > >> > > > > Hi there. >> > >> > > > > I'm posting an activity, but none of my friends can see it. >> > >> > > > > The idea is to post an activity without having the app installed. >> Is >> > > > > that possible? >> > >> > > > > If not, what's the best solution for posting users activities from >> my >> > > > > website to orkut? >> > >> > > > > Thank you all. >> > > > > Lucca Mordente >> > >> > > > > -- >> > > > > 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<opensocial-orkut%2bunsubscr...@googlegroups.com><opensocial-orkut%2Bunsubscrib >> e...@googlegroups.com><opensocial-orkut%2Bunsubscrib >> > > e...@googlegroups.com> >> > > > > . >> > > > > For more options, visit this group at >> > > > >http://groups.google.com/group/opensocial-orkut?hl=en. >> > >> > > -- >> > > 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-or...@googlegroups.com. >> > > To unsubscribe from this group, send email to >> > > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com><opensocial-orkut%2Bunsubscrib >> e...@googlegroups.com> >> > > . >> > > For more options, visit this group at >> > >http://groups.google.com/group/opensocial-orkut?hl=en. >> >> -- >> 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-or...@googlegroups.com. >> To unsubscribe from this group, send email to >> opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/opensocial-orkut?hl=en. >> >> > -- > 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-or...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- 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-or...@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.