Skip to content

zovenor/social_network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

Social network

WebSockets

Add/remove like in the post: /like/

Request example

{
    action: 'post_count_likes',
    post_id: 5,
}

Response example

{
    status: "OK",
    action: "post_count_likes",
    is_liked: true,
    count: 2,
    post_id: 5,
}

Send message: /messenger/send_message/{ NAME_OF_USER_OR_GROUP }

Request example

{
    action: 'send_message',
    text: { SOME_TEXT_FOR_MESSAGE },
}

Response example

{
    status: "OK",
    text: { REQUEST_TEXT }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published