Commit graph

376 commits

Author SHA1 Message Date
9d847cd18e
debug: log raw response on tweet create failure 2026-05-21 18:59:13 +03:00
85c852f4bb
fix: accept all 2xx status codes 2026-05-21 18:56:59 +03:00
34db837a9e
feat: x.com migration + public API for cookie-based auth
- migrate all API URLs from twitter.com to x.com
- add SetBearerToken, SetHTTPClient, SetLoggedIn public methods
- accept 202/204 status codes in handleResponse
- module path -> src.cultist.club/lain/twitter-scrapper
2026-05-21 18:54:10 +03:00
Valentine
76cb95cd3e
Merge pull request #48 from imperatrona/hotfix
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Go / Test (push) Waiting to run
rm bearerToken2
2025-04-30 01:06:44 +03:00
imperatrona
d31ee7d09f rm bearerToken2 2025-04-30 01:03:40 +03:00
Valentine
f5a2629e42
Merge pull request #44 from imperatrona/video_website
parse videos from cards
2025-03-28 14:27:00 +03:00
Valentine
a48dcf2587 parse videos from cards 2025-03-28 14:14:16 +03:00
Valentine
3684e678e3 update tests 2025-01-23 03:13:18 +03:00
Valentine
c269a9ba92
Merge pull request #24 from thewh1teagle/feat/expand-description-urls
feat: expand description URLs
2025-01-23 03:03:43 +03:00
Valentine
e5c170986e
Merge branch 'master' into feat/expand-description-urls 2025-01-23 02:16:38 +03:00
Valentine
44183226af update twitter account in test 2025-01-23 00:00:32 +03:00
Valentine
4276e243ac fix test fail 2025-01-22 23:57:00 +03:00
Valentine
4519142ae8
Merge pull request #35 from masa-finance/master
Add Twitter Blue Verification Status to Profile Responses
2025-01-22 23:52:05 +03:00
Brendan Playford
48d27acfb1
Merge pull request #1 from masa-finance/feat-update-profile-to-twitter-v2-api
Add Twitter Blue Verification Status to Profile Responses
2025-01-22 11:22:20 -08:00
Brendan Playford
388445d4c2
feat: add IsBlueVerified to profile responses
Add support for Twitter's blue verification status in profile responses:
- Add IsBlueVerified field to user struct in GetProfile response
- Update parseProfile and parseProfileV2 to include blue verification status
- Add ProfileImageShape and HasGraduatedAccess fields to profile responses

This change ensures the API correctly returns blue verification status for both direct profile queries and timeline responses.
2025-01-22 11:14:03 -08:00
Brendan Playford
7226460e05
feat(types): extend Twitter profile data structures
- Add new fields to Profile struct (IsBlueVerified, MediaCount, etc.)
- Extend legacyUser struct with additional Twitter API fields
- Add new types for extended profile, verification and highlights info
- Update profile parsing to include new metrics
2025-01-22 11:05:38 -08:00
Valentine
152a0a1c2c
Merge pull request #28 from thewh1teagle/fix/auth-requires-transaction-id
fix: change bearer token for authentication that is less restrictive
2024-11-26 16:38:35 +03:00
thewh1teagle
3f34db1aa9
feat: use bearer token with higher rate limit 2024-11-24 00:36:29 +02:00
thewh1teagle
8bb70a9d2c
fix: change bearer token for authentication that is less restrictive 2024-11-23 16:38:28 +02:00
thewh1teagle
40066f125a
feat: single function to expand URLs 2024-11-08 21:57:56 +02:00
thewh1teagle
cc1eb793d6
feat: expand media URLs in tweet 2024-11-08 21:41:52 +02:00
thewh1teagle
9f31f3890f
feat: expand URLs for profile and tweets 2024-10-14 21:31:13 +03:00
Valentine
033e8609fb set csrf token to flow 2024-10-01 17:27:15 +03:00
Valentine
9b34acb926 update readme and changelog 2024-10-01 01:49:41 +03:00
Valentine
ec8e559b93 Merge branch 'login' 2024-10-01 01:41:12 +03:00
Valentine
97db62752d bump net to v0.29.0 2024-10-01 01:38:20 +03:00
Valentine
4152dfe086 add random delay to auth flow 2024-10-01 01:33:38 +03:00
Valentine
f257b131ff refactor auth api 2024-10-01 01:30:08 +03:00
Valentine
870947b6c4 add account methods to readme 2024-10-01 01:15:35 +03:00
Valentine
d4ea0c9848 rename settings to account 2024-10-01 00:51:56 +03:00
Valentine
7a9256072f add GetAccountSettings and GetAccountList 2024-10-01 00:51:32 +03:00
Valentine
807bccc9f5
Merge pull request #21 from thewh1teagle/feat/user-settings
feat: add user settings
2024-10-01 00:47:37 +03:00
Valentine
36d454919c omit nil check with slice 2024-10-01 00:14:02 +03:00
Valentine
06af7c27bc add proxy to OpenAccount test 2024-10-01 00:10:32 +03:00
Valentine
ec5d5dc117 add GetTweetsAndReplies and FetchTweetsAndReplies 2024-10-01 00:10:08 +03:00
Valentine
0e07e464ba
Merge pull request #20 from thewh1teagle/feat/tweet-and-replies
feat: add tweet and replies
2024-09-30 21:32:40 +03:00
thewh1teagle
37c1f74ba3
feat: add user settings 2024-09-30 15:17:12 +03:00
thewh1teagle
699a998acd
feat: add tweet and replies 2024-09-30 04:45:33 +03:00
Valentine
2de5a50e74
Merge pull request #15 from imperatrona/userbyid
add GetProfileByID method
2024-08-09 14:24:49 +03:00
Valentine
3bfec2211f fix error tests 2024-08-09 14:21:56 +03:00
Valentine
a611486a08 add GetProfileByID method 2024-08-09 14:03:05 +03:00
Valentine
c57301623b
Merge pull request #13 from imperatrona/retweeters
GetTweetRetweeters
2024-08-05 18:06:30 +03:00
Valentine
171e94e5f5 add GetTweetRetweeters to readme 2024-08-05 18:05:02 +03:00
Valentine
a2938f52db add GetTweetRetweeters method 2024-08-05 17:57:18 +03:00
Valentine
ae381f2bb8
Merge pull request #10 from imperatrona/replies
add GetTweetReplies method
2024-08-01 17:50:48 +03:00
Valentine
270637d27b remove unused import 2024-08-01 17:41:30 +03:00
Valentine
f86a0ea59d add GetTweetReplies method 2024-08-01 17:39:06 +03:00
Valentine
e053917d34
Merge pull request #9 from imperatrona/likes
add LikeTweet and UnlikeTweet methods
2024-07-24 04:10:52 +03:00
Valentine
ac7ea32df3 fix for older version 2024-07-24 04:06:40 +03:00
Valentine
e78f3a9e5b
Merge pull request #8 from imperatrona/spaces
add GetSpace method
2024-07-24 03:55:58 +03:00