Hii there, Can anyone help me with posting activities,
I am using 3-legged c#.net lib with the following JSON.. [{"params":{"userId":["@me"],"groupId":"@self","activity": {"title":"this is the title","body":"activity body"},"appId":"@app"},"id":"activities","method":"activities.create"}] and the response which i am getting is this.... [{"id":"activities","error":{"message":"forbidden: app not whitelisted","data":{"errorType":"noPermissions"},"code":403}}] i dont know how should i proceed.because i already have a consumer key and secret and how should i make an app as whitelist in 3-legged?? Please Help some one.... Waiting for Reply.... Thanks, Sambe. On Aug 10, 6:12 pm, Tiago Silveira <t...@google.com> wrote: > 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 <luccamorde...@gmail.com> wrote: > > > 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%2Bunsubscrib > > >> > > > > e...@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%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%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%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. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.