When I try to add a friendship between two accounts: post https://api.twitter.com/1.1/friendships/create.json {“user_id”:id,“follow”:true}
post https://api.twitter.com/1.1/friendships/create.json {“user_id”:id,“follow”:true}
I’ve got the following error: Cannot find specified user. (code 108).
Cannot find specified user. (code 108).
The post body is a JSON object and the content type is ‘application/json; charset=UTF-8’. I’ve tried with several correct user id
What am I missing?
Fail: the params are awaited in the query, not in the body. Lost an hour on this: please explain this clearly in the docs, HTTP POST params are in the body by default