Skip to content

friend.tech

Social Media Message Format

curl 'wss://prod-api.kosetto.com/?authorization=' \
  -H 'Pragma: no-cache' \
  -H 'Origin: https://www.friend.tech' \
  -H 'dnt: 1' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Sec-WebSocket-Key: NqLz+8pfsF3esNC4kO4ESQ==' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
  -H 'Upgrade: websocket' \
  -H 'Cache-Control: no-cache' \
  -H 'Sec-GPC: 1' \
  -H 'Connection: Upgrade' \
  -H 'Sec-WebSocket-Version: 13' \
  -H 'Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits' \
  --compressed



curl 'wss://www.walletlink.org/rpc' \
  -H 'Pragma: no-cache' \
  -H 'Origin: https://www.friend.tech' \
  -H 'dnt: 1' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Sec-WebSocket-Key: hBKVaDIq6jB/4yG2KmYwig==' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
  -H 'Upgrade: websocket' \
  -H 'Cache-Control: no-cache' \
  -H 'Sec-GPC: 1' \
  -H 'Connection: Upgrade' \
  -H 'Sec-WebSocket-Version: 13' \
  -H 'Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits' \
  --compressed

curl 'wss://relay.walletconnect.com/?auth=98715&ua=wc-2%2Fjs-2.11.0%2Flinux-chrome-120.0.0%2Fbrowser%3Awww.friend.tech&useOnCloseEvent=true' \
  -H 'Pragma: no-cache' \
  -H 'Origin: https://www.friend.tech' \
  -H 'dnt: 1' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Sec-WebSocket-Key: LmrdCnf2ZnPLjd4+7xi/jA==' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
  -H 'Upgrade: websocket' \
  -H 'Cache-Control: no-cache' \
  -H 'Sec-GPC: 1' \
  -H 'Connection: Upgrade' \
  -H 'Sec-WebSocket-Version: 13' \
  -H 'Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits' \
  --compressed


curl 'https://prod-api.kosetto.com/messages/0x8141dcf011f02d79e6a70ac002ac3899f924d98b/lastRead' \
  -X 'OPTIONS' \
  -H 'authority: prod-api.kosetto.com' \
  -H 'accept: */*' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'access-control-request-headers: authorization,content-type' \
  -H 'access-control-request-method: POST' \
  -H 'dnt: 1' \
  -H 'origin: https://www.friend.tech' \
  -H 'referer: https://www.friend.tech/' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: cross-site' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
  --compressed


curl 'https://prod-api.kosetto.com/messages/0x8141dcf011f02d79e6a70ac002ac3899f924d98b' \
  -H 'authority: prod-api.kosetto.com' \
  -H 'accept: application/json' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjoiMHg4NDM4M2JlZjVlZTI2ZTI5YmY0ZGE5MWNhZTU4ZDM2Nzk5Mjg0YjdjIiwiaWF0IjoxNjk4NzcyODgxLCJleHAiOjE3MDEzNjQ4ODF9.UAYt-1wUFwp7xn2wMPjcvreZbf9AR0dVYV3basoxQqs' \
  -H 'content-type: application/json' \
  -H 'dnt: 1' \
  -H 'origin: https://www.friend.tech' \
  -H 'referer: https://www.friend.tech/' \
  -H 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Brave";v="120"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: cross-site' \
  -H 'sec-gpc: 1' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
  --data-raw '{"clientMessageId":"60c469de000","text":"\"Yo you still here?\"","imagePaths":[],"chatRoomId":"0x8141dcf011f02d79e6a70ac002ac3899f924d98b","sendingUserId":"0x84383bEf5ee26E29BF4Da91cae58d36799284B7C","twitterPfpUrl":"https://d3egfmvgqzu76k.cloudfront.net/twitterPfps/0x84383bef5ee26e29bf4da91cae58d36799284b7c.jpg?Expires=1806117851&Key-Pair-Id=K11ON08J8XW8N0&Signature=INPLgCNfauBl2n78KitPw7AD2cNBQnl7bAmjsScgv7lCLDuVqelxzm3S6D5N-YFoywSEM1qulC0eHgqwOUatBZOjxTwvHBwWhyfXhXAcZigrIlDSoKb0J6BBsjNYrYMIzWVKu-CPRKCjQi0OJmiqkceZGy~l-XNzaXaFv50LQMHgbksqYplgpPr5NB7ojvjtoEfMi7BB-O9Q6jZIoSbJEBKiyVjYwA7mKks6cNMu6waQ46fo3i2VRhwUy1wW7yrMnOboCJsR0ZXDvJDNbD4Yif7yGu97JF7Fi4-FDpeYb0VBXNmmT4rY0pZxPgGPGMd~lzSsmdsgQcZCLlsHJXN2dQ__","twitterName":"Paul mullins (h/ist)"}' \
  --compressed
{
  "clientMessageId": "60c469de000",
  "text": "\"Yo you still here?\"",
  "imagePaths": [

  ],
  "chatRoomId": "0x8141dcf011f02d79e6a70ac002ac3899f924d98b",
  "sendingUserId": "0x84383bEf5ee26E29BF4Da91cae58d36799284B7C",
  "twitterPfpUrl": "https://d3egfmvgqzu76k.cloudfront.net/twitterPfps/0x84383bef5ee26e29bf4da91cae58d36799284b7c.jpg?Expires=1806117851&Key-Pair-Id=K11ON08J8XW8N0&Signature=INPLgCNfauBl2n78KitPw7AD2cNBQnl7bAmjsScgv7lCLDuVqelxzm3S6D5N-YFoywSEM1qulC0eHgqwOUatBZOjxTwvHBwWhyfXhXAcZigrIlDSoKb0J6BBsjNYrYMIzWVKu-CPRKCjQi0OJmiqkceZGy~l-XNzaXaFv50LQMHgbksqYplgpPr5NB7ojvjtoEfMi7BB-O9Q6jZIoSbJEBKiyVjYwA7mKks6cNMu6waQ46fo3i2VRhwUy1wW7yrMnOboCJsR0ZXDvJDNbD4Yif7yGu97JF7Fi4-FDpeYb0VBXNmmT4rY0pZxPgGPGMd~lzSsmdsgQcZCLlsHJXN2dQ__",
  "twitterName": "Paul mullins (h/ist)"
}