Paulo,

Open a bug on the library website. I'm getting several authentication
problems, and it was reported before.

Basically, there are two different problems:

1- When you try to authenticate and orkut returns an invalid base string
authentication. It happens on my lib, googleoauth playground and also on
java lib;

2- When "authenticated", orkut refuses the access token, returning an
invalid token;

When was testing java lib, these errors were responsible for raising
exceptions.

Regards

Robson Dantas

2010/8/10 Paulo Cesar <[email protected]>

> Anybody knows when the problem described bellow will be fixed?
>
> "When i ran the project, after specifying my Consumer key and Secret,
> the Request was made normally, however, the response had problems. The
> program ended with an exception as follows, (by the way I did do the
> authentication, i.e, logged in to my Orkut account to grant access)
>
> Request:[{"params":{"groupId":"@self","userId":"@me"},"id":"0-
> p.g","method":"people.get"},{"params":
> {"groupId":"@friends","userId":"@me","count":20,"startIndex":
> 0},"id":"1-frnds.g","method":"people.get"}]
> Exception in thread "main" java.lang.RuntimeException: Unexpected
> exception while setting response
>        at
>
> com.google.orkut.client.api.BatchTransaction.setResponse(BatchTransaction.java:
> 169)
>        at com.google.orkut.client.sample.Transport.run(Transport.java:104)
>        at com.google.orkut.client.sample.SampleApp.run(SampleApp.java:57)
>        at com.google.orkut.client.sample.SampleApp.main(SampleApp.java:43)
> Caused by: org.json.me.JSONException: A JSONArray text must start with
> '[' at character 0 of
>        at org.json.me.JSONTokener.syntaxError(JSONTokener.java:448)
>        at org.json.me.JSONArray.<init>(JSONArray.java:106)
>        at org.json.me.JSONArray.<init>(JSONArray.java:145)
>        at
>
> com.google.orkut.client.api.BatchTransaction.setResponse(BatchTransaction.java:
> 159)
>        ... 3 more"
>
> I can't run even the simplest samples, can anyone help me on this?
>
> On Jun 29, 7:00 am, chaitu <[email protected]> wrote:
> > Thanks Prashanth for the reply.
> >
> > We hope the activities reply functionality is implemented in near
> > future.
> >
> > As i explored the present API i found that few activity types
> > implementation is missing like
> > COMMUNITY_JOIN and others. they are just been marked as
> > GenericActivity without
> > returning even a text for that except ownerprofile.
> > Is it true or am i missing anything here for specific activity types.
> >
> > Thanks,
> > Chaitu
> >
> > On Jun 16, 4:03 pm, "Prashant (Google)" <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi,
> >
> > > This is definitely the right place to talk about it!
> >
> > > But no, can't comment on activities at the moment.
> >
> > > ~Prashant
> >
> > > On Jun 10, 4:26 pm, chaitu <[email protected]> wrote:
> >
> > > > Hi Prashant,
> >
> > > > Thanks for the library which is helping us in good way.
> > > > It may be not the correct place but i just need to know does the
> > > > library code include
> > > > commenting for an activity.
> >
> > > > Thanks,
> > > > chaitu
> >
> > > > On May 26, 2:35 am, "Prashant (Google)" <[email protected]> wrote:
> >
> > > > > Hello everyone,
> >
> > > > > At long last, we announced the client library we've all been
> waiting
> > > > > for:http://bit.ly/orkutlib.
> >
> > > > > The blog post should be a good introduction to its capabilities. We
> > > > > expect it'll open up new possibilities for all developers wanting
> to
> > > > > extend orkut beyond its web interface. Let us know how you like it!
> >
> > > > > Cheers,
> > > > > Prashant
>
> --
> 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%[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.

Reply via email to