For development purposes, if you are sharing with friends in Google Reader, the same contacts in your "Friends" group in Reader will also be in your "Friends" group in the iGoogle sandbox. Your old sandbox friends will have to be added again to the "Friends" group.
In conjunction with the new sandbox friends manager, we are also changing what people and sharing calls return. You can now share content with contacts in your "Friends" group, even if those contacts have not added you to their "Friends" group. For example:
var req = opensocial.newDataRequest();
req.add(req.newFetchPeopleRequest("VIEWER_FRIENDS"), "friends");
req.send(response);
Will now return some friends with ids, and some friends without. Friends with ids are those who have you in their "Friends" group, while friends without ids do not.
function response(data) {
var friends = data.get("friends").getData();
friends.each(function(person) {
if (person.getId()) {
alert(person.getDisplayName() + " is a mutual friend.");
} else {
alert(person.getDisplayName() + " hasn't put you in their \"Friends\" group.");
}
});
};
When you post an update, it will be viewable to any person in your "Friends" group.
If you have any questions about these changes, feel free to contact us in the developer forum.