A feed is made up of a collection of posts. Users will be able to generate different types of posts as well as to react and comment on posts.
When you want to parse EkoImage object you can upload image uri or id by using EkoClient.newFileRepository()
the following:
When you want to parse EkoFile object you can upload file uri or id by using EkoClient.newFileRepository()
the following:
When creating a text post, call the following method:
Note. A post can consist of either a list of images or a list of files but not both.
You can use the getPost(:postId)
method in order to get a single post:
Note. Only the post owner or an admin will be able to delete a post.
If you prefer to update post. You have to use EkoPost that you received for update post and check data type in the following:
You can add a reaction to a post by using EkoPost that you received and call the following method:
You can remove a reaction of a post by using EkoPost that you received and call the following method:
You can use EkoPost that you received to add a comment to a post by using our Comment feature:
You can use EkoPost that you received for reply a comment to a post by using our Comment feature:
You can use EkoPost that you received for flag a post as inappropriate by using the following method:
You can use EkoPost that you received to get status flag the following:
You can use EkoPost that you received for unflag a post the following method: