Minglr
Minglr copied to clipboard
[feat] Add "SHARE" option to a post
What is expected?
You are expected to add a share icon to a post so that users can share the post content which also contains a user account link.
Extra
It is not mandatory, but it would be greatly appreciated if you could consider it.
- Whenever a user shares the post instead of sharing the content of the post and the user account link you can share the message saying "Hello, <user's_name> have shared a post on Minglr. Please take a look at it by following this link: <post's_link>." Here post link is the actual link to the post which might look like this https://localhost/minglr/post.php?pid=<post_id>
- You can do it by adding a new page called "post.php" and displaying the post based on the post ID received in the GET parameter.