/group/add_person

Description

Add persons into a group. Note that a person can be added to multiple groups.
One Group may contains at most 10000 persons

Parameter

Name Description
Required api_key Your registered API Key
api_secret Your registered API Secret
group_id or group_name The id or name of the group.
person_id or person_name A comma-separated list of person ids or names, specifying the persons to be added to the group.

Return Values

Field Type Description
added int Number of added person
success bool Always be "true"

Parameter

https://apius.faceplusplus.com/v2/group/add_person?api_secret=YOUR_API_SECRET&api_key=YOUR_API_KEY&person_name=Bob,Alice&group_name=Family

JSON Response

{
    "added": 2, 
    "success": true
}

Error Code List

Error Code HTTP Status Code Error Message
1001 500 INTERNAL_ERROR
1003 403 AUTHORIZATION_ERROR
1003 403 INSUFFICIENT_PRIVILEGE_OR_QUOTA_LIMIT_EXCEEDED
1004 400 MISSING_ARGUMENTS
1008 400 TOO_MANY_ITEMS_TO_ADD
1005 400 INVALID_ARGUMENTS
1006 403 ILLEGAL_USE_OF_DEMO_KEY
1202 502 SERVER_TOO_BUSY
Google+