Add photo to group
Add one of your photos to a group you belong to.
POST https://cotlet.dev/api/v1/flickr/groups/{group_id}/photos/{photo_id}/to-group
write Confirm
Adds one of your photos to a group's pool. A non-public photo becomes visible to all members of that group. Some groups hold photos until an admin or moderator approves them, and the response says so. Flickr allows a free account to post a photo to 30 groups and Pro to 60 where limits apply. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| photo_id string required | string | Photo ID from list_photos. |
| group_id string required | string | Group ID from list_groups. |
Request
curl -X POST https://cotlet.dev/api/v1/flickr/groups/group_8c41d2/photos/photo_8c41d2/to-group \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("flickr", "add_photo_to_group", {"photo_id":"photo_8c41d2","group_id":"group_8c41d2"}) const result = await cotlet.call('flickr', 'add_photo_to_group', {"photo_id":"photo_8c41d2","group_id":"group_8c41d2"}); cotlet call flickr add_photo_to_group --data '{"photo_id":"photo_8c41d2","group_id":"group_8c41d2"}' Example response
{
"group_id": "1234567@N20",
"group_name": "Street Lisbon",
"photo_id": "53917620011",
"status": "added"
}