twtxt rede social

twtxt rede social que se denomina um serviço de microblog descentralizadao. twtxt é, um serviço de microblog minimalista descentralizado de hackers.

Adicionar usuário

curl -X POST 'https://registry.twtxt.org/api/plain/users?url=https://jar.io/twtxt.txt&nickname=jario'

Retorna OK se tudo ocorrer bem. Geralmente o problema mais comum é o maldito erro do curl - certificado vencido.

Para postar um tweet use a seguinte linha de commando echo -e "date +%FT%T%:z\tHello world!" >> twtxt.txt!

últimos tweets

curl 'https://registry.twtxt.org/api/plain/tweets'

Procurar por tweets

curl 'https://registry.twtxt.org/api/plain/tweets?q=twtxt'
curl -X GET --header 'Accept: text/plain' 'https://registry.twtxt.org/api/plain/tweets?q=jario'

ou use no navegador https://registry.twtxt.org/api/plain/tweets?q=jario

Menção da sua url

curl 'https://registry.twtxt.org/api/plain/mentions?url=https://jar.io/twtxt.txt'

curl -X POST --header 'Content-Type: application/json' --header 'Accept: text/plain' 'https://registry.twtxt.org/api/plain/users?nickname=jario&url=https%3A%2F%2Fjar.io%2Ftwtxt.txt'

No navegador a linha de comando acima use https://registry.twtxt.org/api/plain/users?nickname=jario&url=https%3A%2F%2Fjar.io%2Ftwtxt.txt

Buscar por tags

curl 'https://registry.twtxt.org/api/plain/tags/twtxt'

Procurar usuários

curl 'https://registry.twtxt.org/api/plain/users?q=jario'
curl -X GET --header 'Accept: text/plain' 'https://registry.twtxt.org/api/plain/users?q=jario'

Ou use no navegador https://registry.twtxt.org/api/plain/users?q=jario

asciicast

Leia também:

  1. https://registry.twtxt.org/swagger-ui/
  2. https://github.com/jweblog/twtxt
  3. http://twtxt.xyz/user/a321cdb7a2f89501
  4. https://jar.io/twtxt.txt
Compartilhar: | | Whatsapp |
hits