Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subcribe on Twitter #504

Open
DragoLifer opened this issue Oct 30, 2023 · 1 comment
Open

Subcribe on Twitter #504

DragoLifer opened this issue Oct 30, 2023 · 1 comment

Comments

@DragoLifer
Copy link

Hello, I am studying this library and have a question, can I use this api to subscribe to a user from my account?

@HapLifeMan
Copy link
Contributor

Hello, the account subscription (Account Activity API) is now available starting Enterprise tier, you can use something like that as there's no wrapper provided by this library:

client.v1.post(`account_activity/webhooks/${TWITTER_WEBHOOK_ID}/subscriptions/all.json`, { user_id: USER_ID });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants