Report and block users

Please I am building a social media app where users post contents. Apple requires that users are able to Report each other’s post due to harassment and also block each other. Please how can I implement the Report and Block feature? Can someone guide me through it? @Victor @michael.ionita @Colin @James_App_Maker @Michael @nocodeguides @jessehaywood @corywynn @Eugen @pford

Here’s how I’d do it:
Report:
Wherever there’s user content, add a nearby button, flag icon, or text of “report” with action to get it over to you as an admin to moderate. One idea of an action is to create a reported content collection where everytime something is reported, a new record is added. You can monitor that collection and add all sorts of relationships - which user reported it, what time, how many reports is that single post getting, etc.

Block:
Have a many-to-many relationship with users to users called something like “blocked”. Be sure to filter out all content from this relationship on whatever newsfeed or content type features you have. Also probably want a setting where users can unblock people they blocked.

3 Likes

Thank you, I’ll try this

You are amazing!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.