Messages
Topic:
A little help please
Hi all,
i'm begining to do desktop applications for hi5. I did applications for facebook yet. And have some questions:
Im trying to use application-social java client. But i need some things that dont know how to get:
1) REST_BASE_URI for hi5
2) RPC_ENDPOINT for hi5
3) CONSUMER_SECRET
4) CONSUMER_KEY
Also want one apy key but sandbox.hi5.com always fails.
Anyone can tell me how i can get that things_
Thanks,
David.
Jan 26
3:27 AM
rest bases are
api.hi5.com/rest for hi5 custom apis, see api.hi5.com for docs
and
api.hi5.com/social/rest for opensocial endpoints.
You will need an api_key, which you can get by creating a sample application, then using that key and you login credential you can get a security token for authenticating your calls, see auth/plain rest endpoint
Jan 26
3:39 PM
Thanks for answer, now i have other problem.
Im using "Hi5 API" for java and mi code exactly is:
AuthApiImpl auth = new AuthApiImpl();
AuthToken token = new AuthToken();
try{
token = auth.auth_plain(mi_apikey, mi_user,mi_password);
}
catch(Exception e){
System.out.println(e);
}
The exception that i receive is:
27-ene-2009 11:49:59 org.apache.commons.httpclient.HttpMethodBase writeRequest
INFO: 100 (continue) read timeout. Resume sending the request
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Unable to unmarshal type.. Nested exception is javax.xml.bind.UnmarshalException: null
null
But i used whireshark and see that hi5 is returning an 500 Internal server error.
Anyone knows what can be happen?, or where i have the error code?
Thanks,
David.
Jan 27
3:02 AM
This exception is really a blocker. Can someone from the hi5 development team address this issue?
Nov 9
2:05 AM
Anyone care to reply to this?
Nov 17
11:26 PM