friendships.create
POST
/friendships/create.json
users to follow the user specified in the ID parameter.
failure condition when unsuccessful. If you are already friends with the user a HTTP 403 may be
returned, though for performance reasons you may get a 200 OK message even if the friendship already
exists.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.twitter.com/1.1/friendships/create.json'
响应示例响应示例
{}
请求参数
无
返回响应
修改于 2024-09-24 06:06:38