mirror of
https://github.com/imputnet/cobalt.git
synced 2026-07-17 04:23:36 -05:00
[PR #1152] [MERGED] twitter: add fallback to syndication api, fix some edge cases, and add a gif test #31457
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1152
Author: @wukko
Created: 3/11/2025
Status: ✅ Merged
Merged: 3/11/2025
Merged by: @github-actions[bot]
Base:
main← Head:twitter-fix📝 Commits (7)
9639c59api/twitter: handle empty body properly69dd37capi/twitter: handle 403 with no cookie inrequestTweet()75b498eapi/twitter: add fallback to syndication api3046058api/tests/twitter: add a gif test69421a1api/twitter: refactor, move graphql media extraction to a function9579c3dapi/twitter: fix return in extractGraphqlMedia39b6bb2api/twitter: change const to let for media📊 Changes
2 files changed (+111 additions, -28 deletions)
View changed files
📝
api/src/processing/services/twitter.js(+102 -28)📝
api/src/util/tests/twitter.json(+9 -0)📄 Description
closes #1151
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.