twikit icon indicating copy to clipboard operation
twikit copied to clipboard

Get Favoriters is always empty.

Open czp-first opened this issue 7 months ago • 2 comments

Hi, I tried to get favoriters of tweet many times, it was always be empty.

my code:

class GetFavoritersService(XBaseService):
    async def run(self, cookie: dict, tweet_id: str, count: int = 100):
        self.x_client.set_cookies(cookie)
        user = await self.x_client.user()
        logger.info("user: {}", user.name)
        favoriters = await self.x_client.get_favoriters(
            tweet_id=tweet_id,
            count=count,
        )
        logger.info("favoriters: {}", favoriters)
        for favoriter in favoriters:
            logger.info("favoriter[{}]: {}, ", favoriter.id, favoriter.name, favoriter.screen_name)


czp-first avatar May 25 '25 11:05 czp-first

Ever find a fix for this? Seems to be the same even after updating the GQL endpoints. This also happens for retweets. I figured it was due to an invalid referrer, but even with the referrer set as f"https://x.com/{author}/status/{tweet_id}/retweets" as per a real request, I didn't notice any difference.

s0briety avatar Sep 13 '25 05:09 s0briety

Currently, you can only query the favorites list under your own tweets, and cannot view the favorites list of other people's tweets.

yeahyesfine avatar Sep 28 '25 01:09 yeahyesfine