From: Suhem Parack Date: Tue, 1 Mar 2022 22:57:29 +0000 (-0800) Subject: Update examples/API_v2/lookup_users_using_user_ids.py X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0781b47512cbab5fc1a090ff68b5f9d434a864af;p=tweepy.git Update examples/API_v2/lookup_users_using_user_ids.py Co-authored-by: Harmon --- diff --git a/examples/API_v2/lookup_users_using_user_ids.py b/examples/API_v2/lookup_users_using_user_ids.py index aa22613..78e50a5 100644 --- a/examples/API_v2/lookup_users_using_user_ids.py +++ b/examples/API_v2/lookup_users_using_user_ids.py @@ -13,7 +13,7 @@ ids = [2244994945, 6253282] # By default the user ID, name and username are returned. user_fields can be # used to specify the additional user data that you want returned for each user # e.g. profile_image_url -users = client.get_users(ids, user_fields=["profile_image_url"]) +users = client.get_users(ids=ids, user_fields=["profile_image_url"]) # Print the username and the user's profile image url for user in users.data: