break;
case FCT_IDENTITYFROMID: {
if (args.size() >= 2) {
String target = args.get(0).stringValue();
String id = args.get(1).stringValue();
PeopleService svc = SocialServicesFactory.getInstance().getPeopleService();
return FBSUtility.wrap(context.getJSContext(),svc.getUserIdentityFromId(target, id));
}
}
break;
case FCT_IDFROMIDENTITY: {
if (args.size() >= 2) {
String target = args.get(0).stringValue();
String id = args.get(1).stringValue();
PeopleService svc = SocialServicesFactory.getInstance().getPeopleService();
return FBSUtility.wrap(context.getJSContext(),svc.getUserIdFromIdentity(target, id));
}
}
break;
case FCT_PROXYURL: {
if (args.size() >= 2) {