Closed boly38 closed 1 month ago
Ooh .. 🤕 it seems that payload I'm using is soooo far from latest bluesky doc:
replyTo used EXTRACT OF FACETS:
"text": "Pl@ntNet identifie (à 61.65%) Silene latifolia (fam Caryophyllaceae) com. Silène blanc, Compagnon blanc, Lychnide blanche\n\n#BeSPlantnet #IndentificationDePlantes",
"facets": [
{
"index": {
"start": 123,
"end": 135
},
"type": "mention",
"mention": {
"name": "#BeSPlantnet"
}
},
but according to this doc and this doc
I must send this instead
"text": "Pl@ntNet identifie (à 61.65%) Silene latifolia (fam Caryophyllaceae) com. Silène blanc, Compagnon blanc, Lychnide blanche\n\n#BeSPlantnet #IndentificationDePlantes",
"facets": [
{
"index": {
"byteStart": 123,
"byteEnd": 135
},
features: [{
$type: 'app.bsky.richtext.facet#tag',
tag: '#BeSPlantnet'
}]
},
extract
"text": "Pl@ntNet identifie (à 61.65%) Silene latifolia (fam Caryophyllaceae) com. Silène blanc, Compagnon blanc, Lychnide blanche\n\n#BeSPlantnet #IndentificationDePlantes",
"facets": [
{
"index": {
"byteStart": 125,
"byteEnd": 137
},
on SIMULATION, plantnet identification is OK
but on ACTION,
(news) the bluesky replyTo failed
(server) with 400 status
TODO: