"Friend Request", Direct Message

I am trying to find out how to do two things that seem to have similar mechanics. The first is to send a “friend request” or connection approval. A user selects a group and clicks to join. This sends a direct message to that groups admin. The admin can approve or deny the request. When the admin clicks approve, this triggers a database insert adding requestee to the group.

The other thing I’m looking to do is very similar, allowing users to connect with each other and then message. I have created the database query’s to find one another, but I have not been able to find any documentation on how to allow for direct messaging.

I have reviewed the following documentation (and it has helped get me very far!) but I have not been smart enough to put it all together to do what I want.





I think the answer to my first question is the answer to my second. Can someone provide an example of how to do something like this? I think novice developers like myself trying to create an app from an idea would greatly benefit from it. I will buy your next few rounds!

Community Page
Last updated: