subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.36k stars 684 forks source link

cl.user_followers(user_id, amount=10) dont return story timestamp, #1886

Open instasck opened 6 months ago

instasck commented 6 months ago

I al trying to check the followers of a profile, and I want to also retrieve data:

from instagrapi import Client

ACCOUNT_USERNAME = 'xxx'
ACCOUNT_PASSWORD = 'xxx'
cl = Client()
cl.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)

user_id = '12345436465'
followers = cl.user_followers(user_id, amount=10)

The data I am getting is : image

image

although it say include reels, I dont see any story data (I checked story exists on some users)

instasck commented 6 months ago

image here is the issue

instasck commented 6 months ago

class UserShort(TypesBaseModel): def hash(self): return hash(self.pk)

def __eq__(self, other):
    if isinstance(other, UserShort):
        return self.pk == other.pk
    return NotImplemented

pk: str
username: Optional[str] = None
username: Optional[str]
full_name: Optional[str] = ""
profile_pic_url: Optional[HttpUrl] = None
profile_pic_url_hd: Optional[HttpUrl] = None
is_private: Optional[bool] = None
is_verified: Optional[bool]  # not found in hashtag_medias_v1
latest_reel_media: Optional[int]
has_anonymous_profile_picture: Optional[bool]
# stories: List = [] # not found in fbsearch_suggested_profiles