Open junzhongsong opened 3 weeks ago
when I use this code:
USER_SCREEN_NAME = 'yinge133' # 确保这个用户名是正确的 user = await client.get_user_by_screen_name(USER_SCREEN_NAME) print( f'id: {user.id}', f'name: {user.name}', f'followers: {user.followers_count}', f'tweets count: {user.statuses_count}', sep='\n' ) await client.follow_user(user.id)
it shows this error: twikit.errors.Forbidden: status: 403, message: "{"errors":[{"code":108,"message":"Cannot find specified user."}]}" Please tell me how to fix this error, thanks.
@d60 Could you please help to check this issue. Thanks.
when I use this code:
获取用户ID并关注
it shows this error: twikit.errors.Forbidden: status: 403, message: "{"errors":[{"code":108,"message":"Cannot find specified user."}]}" Please tell me how to fix this error, thanks.