Skip to content

How to download the Photo of a user? #31

Description

@dkrizic

I would like to obtain the Photo for a given user. I just find the metadata like height

			photo, err := graphClient.Users().ID( *user.ID ).Photo().Request().Get(ctx)
			var height = photo.Height

The documentation states that there should be a "$value" added to the path. How do I construct it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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