This topic demonstrates advanced API usage. If you find an unsupported scenario in the Social Manager, please let your developer account manager (DAM) know.
Getting the first user’s social relationships
The following code example shows how to retrieve a social relationship with XBOX services. The code example does the following:- Generates a list of all the users on the system, and then retrieves the first user.
- Retrieves all of that user’s social relationships.
- Displays the public properties of each of those relationships.
- XAsyncBlock
- XblSocialGetSocialRelationshipsAsync
- XblSocialGetSocialRelationshipsResult
- XblSocialRelationshipResultCloseHandle
