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

Account Activity API updates #260

Closed
wants to merge 2 commits into from
Closed

Conversation

jimfenton
Copy link

This is an extension to support the Account Activity API, primarily to support enhancements that were made to take the place of some of the capabilities of the (now sunset) Streaming API. It is not fully tested and is perhaps incomplete, so I'm not sure it's really ready to merge, but since I'm moving on to something else (see below), I wanted to contribute what I have.

This includes:

  • Support for environment names used with the Premium (and sandbox) version of the API. An empty environment name indicates the use of the Enterprise API (with somewhat different API URLs), although I have no way to test this.

  • New support for OAuth 2.0 bearer tokens used when listing and counting webhook subscriptions. This is done outside the OAuth library because the currently-referenced library has no support for bearer tokens (but see also Update to newer oauth library #257).

  • Code for calculating and sending a CRC response to a webhook challenge GET request

  • Removal of streaming example from README. Many API endpoints in streaming.go don't work, but some (particularly sampling and filtering tweets) still do, so I suspect that some of that code is still useful.

  • Documentation and API URL updates

This pull request closes #254. I will be doing no further work on the Account Activity API because I just discovered that, unlike the Streaming API it is supposed to replace, it does not supply inbound home timeline tweets (only mentions, replies, likes, follows, etc.). I'm happy to answer any questions regarding the code, however.

This was referenced Nov 1, 2018
@jimfenton
Copy link
Author

Replaced by #261 (branch name changed).

@jimfenton jimfenton closed this Nov 2, 2018
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

Successfully merging this pull request may close these issues.

Account Activity API support
1 participant