Forum / Archives / Fetch additional data with opensocial-as3-client?
Wednesday, 26 August 2009 at 14:17
crispclean
Hey
I'm building a flash application with opensocial-as3-client (http://code.google.com/p/opensocial-as3-client)
I managed to fetch "name", "id" and "thumbnail" but now i want to fetch additional data like gender, age, credits, email, ... ?
Can someone give me some insight?
thx
public function fetchMe():void {
req = new AsyncDataRequest(
Feature.PEOPLE_GET,
new PeopleRequestOptions()
.setUserId("@me" )
.setGroupId("@self" ));
req.addEventListener(ResponseItemEvent.COMPLETE, fetchMeEventHandler);
req.send(client);
}
private function fetchMeEventHandler(event:ResponseItemEvent):void {
var p : Person = event.response.getData();
MonsterDebugger.trace(this,"id:"+p.getId());
}
Comments 1
Trikke Peeters Owner (Sunday, 30 August 2009 at 09:54)
Please consult the documentation included with the opensocial-as3-client: http://code.google.com/p/opensocial-as3-client...
Post a comment: