📄️ Create Post
The addPost() function is used to create a new post in the LikeMinds feed. It allows users to share content, including text, attachments, topics, and more, facilitating content creation and user-generated interactions.
📄️ Fetch Post
The getPost() function is used to fetch a post. It takes a GetPostRequest as input, which includes the postId, page, and pageSize. The function returns a GetPostResponse as a Future.
📄️ Edit Post
The editPost() function enables users to modify and update the content of a previously published post, ensuring the accuracy and relevance of shared information.
📄️ Delete Post
The deletePost() function enables users to delete the published post.
📄️ Like Post
The likePost() function enables users to express their appreciation for posts by other members. With just a simple tap, users can indicate their interest and support for specific content on their feed.
📄️ Save Post
The savePost() function allows users to save posts for layer. You can integrate it in your Flutter app to enhance user experience by allowing them to bookmark and revisit their favorite posts at their convenience. Enable seamless content curation, empowering users to organize and access valuable information with ease.
📄️ Pin Post
The pinPost() function allows users to conveniently "pin" posts, granting them the ability to highlight and prioritize important content on their feed. This feature ensures that selected posts remain prominently displayed at the top of the feed for improved visibility and easy access.
📄️ Fetch Post Likes
The getPostLikes() function allows users to retrieve information about the number of likes received by a specific post. By utilizing this functionality, developers can display the total number of likes on a post and provide users with social validation and engagement metrics.
📄️ Post Seen
The postSeen() function is used to mark a list of posts as seen.