developers_en's profile page

Netlog Developers

Members: 288

A group for application developer


Forum / Archives / Fetch additional data with opensocial-as3-client?

Wednesday, 26 August 2009 at 14:17


http://netlog.com/crispcleancrispcleancrispcleancrispcleanhttp://nl.netlogstatic.com/p/tt/076/316/76316818.jpgBelgiumOost-Vlaanderen 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());
}



no rating
RSS feed

Comments 1

Post a comment:

You need to be logged in to post a comment.