geduldig / TwitterAPI

Minimal python wrapper for Twitter's REST and Streaming APIs
936 stars 263 forks source link

HydrateType.REPLACE does not work with attachments.media_keys #188

Closed antoniobocale closed 3 years ago

antoniobocale commented 3 years ago
{
    "data": [
        {
            ...
            "attachments": {
                "media_keys": [
                    "1234"
                ]
            }
        }
    ],
    "includes": {
        "media": [
            {
                "type": "photo",
                ...
                "media_key": "1234",
            }
        ]
    },
    "meta": {
        ...
    }
}
geduldig commented 3 years ago

I uploaded a fix. See v2.7.3. Thank you for spotting the issue.