Hey, Lucca, you've uncovered a bug! The orkut opensocial team is working on it. :-)
I find it great that you guys are starting to use 3LO more, 'cause it's the only way we'll be able to provide a solid API for you. Best, Tiago On Aug 9, 4:50 pm, Lucca Mordente <[email protected]> wrote: > Thanks! > I'm waiting (: > > Lucca Mordente > > > > On Mon, Aug 9, 2010 at 2:50 PM, Robson Dantas <[email protected]> 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 <[email protected]> > > > 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 <[email protected]> wrote: > >> > Hi Lucca, > > >> > Can you post the RPC message you are sending ? > > >> > Robson Dantas > > >> > 2010/8/6 Lucca Mordente <[email protected]> > > >> > > 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 <[email protected]> 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 <[email protected]> > > >> > > > > 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 > >> [email protected] > >> > > . > >> > > > > To unsubscribe from this group, send email to > >> > > > > [email protected]<opensocial-orkut%2Bunsubscrib > >> > > > > [email protected]><opensocial-orkut%2Bunsubscrib > >> [email protected]><opensocial-orkut%2Bunsubscrib > >> > > [email protected]> > >> > > > > . > >> > > > > 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 > >> [email protected]. > >> > > To unsubscribe from this group, send email to > >> > > [email protected]<opensocial-orkut%2Bunsubscrib > >> > > [email protected]><opensocial-orkut%2Bunsubscrib > >> [email protected]> > >> > > . > >> > > 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 [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<opensocial-orkut%2Bunsubscrib > >> [email protected]> > >> . > >> 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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<opensocial-orkut%2Bunsubscrib > > [email protected]> > > . > > 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 [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.

