exfacebook v0.0.1 Exfacebook.Api

Basic functions for accessing Facebook API.

Summary

Functions

Use get_connections to read feed, home collections

Pagination next_page is using response from calls of get_connections

Types

error :: {:error, Exfacebook.Error.t}
id :: String.t | binary
name :: String.t | binary
success :: {:ok, Map.t}

Functions

get_connections(id, name, params)

Specs

get_connections(id, name, Exfacebook.Params.t) ::
  success |
  error

Use get_connections to read feed, home collections.

next_page(state)

Specs

next_page(success | error) :: success | error

Pagination next_page is using response from calls of get_connections.

Example:

page0 = get_connections(...)
page1 = page0 |> next_page
page0 = page1 |> prev_page