Module mod_twitter

Use Twitter for logon and/or follow users on Twitter using the streaming HTTP API.

Copyright © 2009-2014 Arjan Scherpenisse, Driebit BV

Authors: Arjan Scherpenisse (arjan@scherpenisse.net).

Description

Use Twitter for logon and/or follow users on Twitter using the streaming HTTP API.

Setup instructions: * Enable the mod_twitter module * Configure in the admin the twitter keys (Auth -> External Services) * Create a person in the Zotonic database, find a twitter ID on twitter, and put it in the person record on the admin edit page (sidebar) * The module will start automatically to follow the users which have a twitter id set.

Function Index

event/2
init/1Initialize or restart the poll task.
manage_schema/2The datamodel that is used in this module, installed the first time the module is started.
observe_rsc_update_done/2
observe_tick_1h/2Ensure our poller task is always there.

Function Details

event/2

event(Submit, Context) -> any()

init/1

init(Context) -> any()

Initialize or restart the poll task.

manage_schema/2

manage_schema(Version, Context) -> any()

The datamodel that is used in this module, installed the first time the module is started.

observe_rsc_update_done/2

observe_rsc_update_done(Rsc_update_done::#rsc_update_done{}, Context::z:context()) -> ok

observe_tick_1h/2

observe_tick_1h(X1, Context) -> any()

Ensure our poller task is always there.


Generated by EDoc