What is the difference between user_id and current_user_id

Hi Anais,

user_id refers to the user who shared the post and current_user_id refers to the user that checked the post via the shared link. If a visitor (outsider from your Discourse instance) uses this link, current_user_id will be NULL.

6 Likes