Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
instasck opened this issue Apr 20, 2024 · 2 comments
Open

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

instasck opened this issue Apr 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@instasck
Copy link

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 instasck added the enhancement New feature or request label Apr 20, 2024
@instasck
Copy link
Author

image
here is the issue

@instasck
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant