Hi!

Looks like more a shindig question. There are some shindig developers here,
but might be better if you could post on shindig-dev.

Didnt remember much details about java version. But you need to setup some
keys, in order to make it work.

[email protected]

-Robson Dantas

2010/10/12 Asuka <[email protected]>

> Hi OpenSocial Application Developers,
>
> I´m trying to use the android demo app of the open social java client
> to connect to Shindig.
>
> To do this, I use the MyShindigProvider class which extends
> org.opensocial.providers.Provider to set the urls:
>
> setName("shindig");
> setVersion("0.8");
> setRestEndpoint("http://server:8081/social/rest/";);
> setAuthorizeUrl("http://server:8081/oauth/authorize";);
> setAccessTokenUrl("http://server:8081/oauth/accessToken";);
> setRequestTokenUrl("http://server:8081/oauth/requestToken";);
> if (!useRest) {
> setRpcEndpoint("http://192.168.1.138:8081/social/rpc/";);
> }
> addRequestTokenParameter("scope", getRequestTokenUrl() + " "
> +getRpcEndpoint());
>
> I got these urls from the shindigoauth.xml in the samplecontainer/
> example of Shindig.Are these urls correct? Do I maybe have to use
> https for authorization? And if, what are the correct urls then?
>
> addProvider(new MyShindigProvider(), new String[] {"http://server:8081/
> samplecontainer/examples/shindigoauth.xml",
> "secret"});
>
> I got these consumer key and consumer secret from the oauth.json. Are
> these Parameters right or is there another consumer key?
>
> After this I´ve set the scheme in friendlistclass setScheme("http://
> server:8081/gadgets/oauthcallback") to set the callback url and edited
> the shindigoauth.xml:
>
> <Service name="shindig">
> <Request url="http://server:8081/oauth/requestToken"; />
> <Authorization url="http://server:8081/oauth/authorize?
> oauth_callback=http://server:8081/gadgets/oauthcallback"; />
> <Access url="http:/server:8081/oauth/accessToken" />
> </Service>
>
> Now I get an OAuthException, because I can´t get any requestToken. .
> What did I forget?
>
> Greetings
> Christine Bauers
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenSocial Application Development" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<opensocial-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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-api?hl=en.

Reply via email to