What an unfruitful conversation ! Start with gif keyboard and end up with fuckface . Now if I want to have gif keyboard , I would probably will do
/ get api gif tenor
/ use API endpoint to search gif
/ parse the JSON reply to retrieve for url
/ create a button to open gif
/ use an API to fetch gid
/ displayed gif in grid
/ update nostr event , modify the content files to include gif url
{
"id": "
"pubkey": "
"created_at":
"kind": 1,
"tags": [],
"content": "Check this out! https://giphy.com/gifs/example"
}
Never tried it though ..