1.2.0 • Published 5 months ago

@microfox/twitter v1.2.0

Weekly downloads
-
License
-
Repository
github
Last release
5 months ago

Microfox X SDK

A lightweight, type-safe SDK for interacting with the X (Twitter) API v2

Installation

npm install @microfox/twitter

Environment Variables

The following environment variables are used by this SDK:

  • X_API_KEY: Your X API key. (Required)
  • X_API_SECRET: Your X API secret key. (Required)
  • X_ACCESS_TOKEN: Your X access token. (Required)
  • X_ACCESS_SECRET: Your X access token secret. (Required)

Additional Information

Use the createXSDK constructor to create a new X client.

The SDK supports both v2 API endpoints for tweets and users.

Media uploads are supported through the v1.1 API endpoint.

API Reference

For detailed documentation on the constructor and all available functions, see:

1.2.0

5 months ago

1.1.1

5 months ago

1.1.0

6 months ago

1.0.3

7 months ago