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

Implement Twitter document source #96

Open
johann-petrak opened this issue Apr 13, 2021 · 2 comments
Open

Implement Twitter document source #96

johann-petrak opened this issue Apr 13, 2021 · 2 comments
Labels
enhancement New feature or request later!

Comments

@johann-petrak
Copy link
Collaborator

johann-petrak commented Apr 13, 2021

This has been partly done for old-format files. Need to figure out how this changes for new-style result JSON.

See also https://github.com/twitterdev/Twitter-API-v2-sample-code

@johann-petrak johann-petrak added the enhancement New feature or request label Apr 13, 2021
@greenwoodma
Copy link
Collaborator

If you are talking about the new v2 API output, then the JSON is not really conducive to loading as single tweets as the JSON object is quite complex with bits of the information spread across multiple places (i.e. not all nicely nested to give one object per tweet).

I've implemented code that converts the v2 back to v1.1 as part of this private repo https://github.com/GateNLP/Twitter-API-v2 so that you can pull from the new API but use all the existing tools.

@johann-petrak
Copy link
Collaborator Author

Thanks - I already had the impression that v2 made this incredibly more complex but was not sure if maybe I was missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request later!
Projects
None yet
Development

No branches or pull requests

2 participants