Skip to content

Recommendation for getting user avatar #14

@thetylerhayes

Description

@thetylerhayes

I don't see a method to get a user's avatar/main profile photo. And it's not returned in get_myself().

I also tried creating a new method in pyfb.py to accomplish this...

    def get_avatar(self, id=None):
        if id is None:
            id = "me"
        return self._client.get_one(id, "Picture")

... but that always returns the same user object returned in get_myself().

I feel like there has to be a simple solution I'm overlooking here. Suggestions/thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions