Facebook.picture
You're seeing just the function
picture
, go back to Facebook module for more information.
Specs
picture(page_id(), type :: String.t(), access_token()) :: resp()
A Picture for a Facebook User
type
may be:
"small"
"normal"
"album"
"large"
"square"
Example
iex> Facebook.picture("<Some Id>", "small", "<Access Token>")
{:ok, %{"data": "..."}}
See: https://developers.facebook.com/docs/graph-api/reference/user/picture/
Specs
picture(page_id(), width :: integer(), height :: integer(), access_token()) :: resp()
A Picture for a Facebook User with custom dimensions
Example
iex> Facebook.picture("<Some Id>", 480, 480, "<Access Token>")
{:ok, %{"data": "..."}}
See: https://developers.facebook.com/docs/graph-api/reference/user/picture/