If you get some like from the api, the problem which i faced was i coped the curl from the documentation
and then used it. The problem is the curl is deformed and the data in body should be in params instead of body.
as {
"error": {
"code": 1,
"message": "An unknown error occurred"
}
}
Try copying the curl and use an AI ( like chatGpt ) and say the curl is malformed and i am unbale to hit it in the terminal please fix.
so,
curl -s -X GET \
-F "metric=likes,replies" \
-F "access_token=<THREADS_ACCESS_TOKEN>"
"https://graph.threads.net/v1.0/<THREADS_MEDIA_ID>/insights"
will be converted into something like the following (which works!)
curl -s -X GET "https://graph.threads.net/v1.0/<threads_post_id/insights?metric=likes,replies&access_token=<token>"