-
Notifications
You must be signed in to change notification settings - Fork 11
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
doesn't work after 3-July-2023 since Twitter is using new API now. #26
Comments
The original API has been deleted, The new API is to obtain 20 pieces of information in batches. |
Oh, fuck, the video downloading do not work.
returns 404 now
|
Twitter delete individual media files API, I don’t know if this message is useful to you. |
Yeah, I curently figure out how to parse the data from For example, mp4 url for a tweet with a single video:
Also, ideally, it would require to automatically get Since it can expire. BTW, here is the updated versions of them:
|
const instruction = json.data.threaded_conversation_with_injections_v2.instructions.find(ins => ins.type === "TimelineAddEntries");
const tweetObject = instruction.entries.find(ins => ins.entryId === "tweet-" + tweetId)
const tweetData = tweetObject.content.itemContent.tweet_results.result.legacy; Possibly, fixed, but I need to test it with different tweet types. I only tested it with a tweet with one video. For example, I need to fix it again: #7 OK, the main bug is fixed, I will continue a bit later. |
Great! |
Possibly related tweet, gif (video) isn't downloading. |
doesn't work after 3-July-2023 since Twitter is using new API now.
The text was updated successfully, but these errors were encountered: