You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if my comment makes sense, maybe you could have a look?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
computermacgyver
changed the title
KeyError: 'default_profile_image' (possible incompatibility with Twitter v2 API jsonl file)
Feature: Support v2 API data as input
Apr 21, 2022
We have code to go from the v1.1 API to that format, but do not have code to go from the v2 API output to that format. I'd like to add that but do not have capacity at the moment.
Hi! I'm doing a research project about Twitter analysis.
I fetched user data by Twitter Academic API (v2), and after using
M3Twitter.transform_jsonl(...)
I got the following error:I also run the example data provided in
m3inference/test/twitter_cache/
and the function runs perfectly.Then I double-checked the jsonl file, it looks like the two versions of Twitter API (v1 / v2) returns (slightly) different jsonl files (I suppose the example data were made by v1 API). Details please see: https://developer.twitter.com/en/docs/twitter-api/migrate/data-formats/standard-v1-1-to-v2
I'm not sure if my comment makes sense, maybe you could have a look?
Thanks in advance!
The text was updated successfully, but these errors were encountered: