Opened 2 years ago
Closed 20 months ago
#8982 closed enhancement (fixed)
Friendship requests via API
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | REST API | Keywords: | |
| Cc: |
Description
Hi I'm developing an app in flutter where I managed to send the friend request from user A to user B, but I don't understand the logic to apply to accept the request. At the moment I was thinking of using the /buddypress/v1/friends/$requestId endpoint to return the request id and change is_confirmed from 0 to 1. but it doesn't work
Change History (4)
#2
in reply to:
↑ 1
@
2 years ago
Replying to imath:
Hi there’s a specific endpoint about it, have you looked at https://developer.buddypress.org/bp-rest-api/reference/friends/#let-the-logged-in-member-accept-a-friendship ?
yes I had seen it, but after retrieving the user id that sends the request I don't know what else to do
Hi there’s a specific endpoint about it, have you looked at https://developer.buddypress.org/bp-rest-api/reference/friends/#let-the-logged-in-member-accept-a-friendship ?