and I keep getting this error message from the Twitter API
{
"_headers":{},
"errors": [
{
"parameters":{},
"message":"Requests with bodies must have content-type of application/json."
}
],
"title": "Invalid Request","detail":"One or more parameters to your request was invalid.",
"type": "https://api.twitter.com/2/problems/invalid-request"
}
Is this from me or from the package?
How can this be resolved?
I don't know if this just is me or someone else is having this issue. I created a client with the v2 properties
I tried to like a tweet using this method below
and I keep getting this error message from the Twitter API
Is this from me or from the package? How can this be resolved?