twitter-openapi icon indicating copy to clipboard operation
twitter-openapi copied to clipboard

OpenAPI(Swagger) specification of Twitter Internal API (Twitter graphql API)

Results 11 twitter-openapi issues
Sort by recently updated
recently updated
newest added

```mermaid graph TD BASE[TwitterInternalAPIDocument]-.->A[twitter-openapi] A--Auto Generated-->AA[twitter-openapi-python-generated] A--Auto Generated-->BA[twitter-openapi-typescript-generated] A--Auto Generated-->CA[twitter-openapi-dart-generated] AA--Simplified handling-->AB[twitter-openapi-python] BA--Simplified handling-->BB[twitter-openapi-typescript] CA--Simplified handling-->CB[twitter-openapi-dart] BB--To image-->AC[twitter-snap-core] AC--Command Line-->ADA[twitter-snap] AC--CF worker-->ADB[twitter-snap-worker] CB--app-->CBA[social_doge] ```

- [ ] ListPins - [ ] DataSaverMode - [ ] GetUserClaims - [ ] getAltTextPromptPreference - [ ] UsersVerifiedAvatars - [ ] AudioSpaceById Sample ``` Payload here. ``` ```...

This fixes #99 and #100. I also added two TODO's for #101, which is not so trivial.

https://x.com/CifarettoStan/status/1920073783798341644 `"parody_commentary_fan_label": "Fan"` Gives error when deserializing: `Value error, must be one of enum values ('None', 'Parody', 'Commentary') [type=value_error, input_value='Fan', input_type=str]`

If you try to deserialize a tweet that is a quote tweet of an account that you have muted, then that fails because this is in the JSON: ```json "tweetInterstitial":...

As described in #99. This requires some more analysis so creating a placeholder issue for it now.

ArticleResult.cover_media is defined as required here: https://github.com/fa0311/twitter-openapi/blob/main/src%2Fopenapi%2Fschemas%2Ftweet.yaml#L1435 But here is a tweet that doesn't have it: https://x.com/Steve_Yegge/status/1948284140757057763 This causes a deserialization error when attempting to fetch the tweet.

Another deserialization error, happens with this tweet: https://x.com/effectfully/status/1860347907615924669 ``` pydantic_core._pydantic_core.ValidationError: 2 validation errors for CommunityData __typename Input should be 'TimelineTweet', 'TimelineTimelineItem', 'TimelineUser', 'TimelineTimelineCursor', 'TweetWithVisibilityResults', 'ContextualTweetInterstitial', 'TimelineTimelineModule', 'TweetTombstone', 'TimelinePrompt', 'TimelineMessagePrompt', 'TimelineCommunity',...

I have noticed that an API endpoint to specifically retrieve a list of blue-verified followers (BlueVerifiedFollowers) does not seem to exist in the current API documentation. I think it would...