Module m_facebook

Model for accessing facebook data via the graph api.

Copyright © 2011 Maas-Maarten Zeeman

Behaviours: zotonic_model.

Authors: Maas-Maarten Zeeman (mmzeeman@xs4all.nl).

Description

Model for accessing facebook data via the graph api.

Function Index

do_graph_call/5Do a facebook graph call.
is_useauth/1
m_get/3Fetch the value for the key from a model source.
search/3Return the search as used by z_search and the search model.

Function Details

do_graph_call/5

do_graph_call(Method, Id, Connection, Args, Context) -> any()

Do a facebook graph call. See http://developers.facebook.com/docs/reference/api/ for more info

is_useauth/1

is_useauth(Context::z:context()) -> boolean()

m_get/3

m_get(Rest::list(), OptMsg::zotonic_model:opt_msg(), Context::z:context()) -> zotonic_model:return()

Fetch the value for the key from a model source

search/3

search(X1, OfffsetLimit, Context) -> any()

Return the search as used by z_search and the search model.


Generated by EDoc