Twitter Engagement

Follow a user on X. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).

post/v1/twitter/follow

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/twitter/follow
  • Auth: HTTP bearer

Request body

accountIdstring required

The account ID

targetUserIdstring required

The X ID of the user to follow

Response

User followed or follow request sent

statusstring
targetUserIdstring
followingboolean
pending_followboolean

True if the target account is protected and a follow request was sent

platformstring

Example response

{
  "status": "success",
  "platform": "twitter"
}

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status