Comparison

mod_twitter/README.md @ 6211:750d64c47ec6 draft default tip

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:31:36 +0700
parent 6003:fe081789f7b5
comparison
equal deleted inserted replaced
6210:24316a399978 6211:750d64c47ec6
1 ---
2 labels:
3 - 'Stage-Alpha'
4 summary: 'Simple example of working component and HTTP polling.'
5 ...
6
7 Introduction
8 ============
9
10 Twitter has simple API to use, so I tried to deal with it via Prosody. I
11 didn't manage to finish this module, but it is nice example of component
12 that accepts registrations, unregistrations, does HTTP polling and so
13 on. Maybe someone will finnish this idea.
14
15 Details
16 =======
17
18 It does require some non-prosody Lua libraries: LuaJSON
19
20 Configuration
21 =============
22
23 At the moment no configuration needed, but you can configure some
24 variables inside code.
25
26 TODO
27 ====
28
29 - Send latest tweets to XMPP user
30 - Reply user's messages to Twitter
31 - OAuth support
32 - User configuration (forms)
33 - discuss about using cjson
34 - [!!!!] rewrite to be compatible with 0.9+
35 - drop? (since it is mod\_twitter in spectrum)
36
37 Compatibility
38 =============
39
40 ------- ---------------------
41 trunk Currently Not Works
42 0.9 Currently Not Works
43 0.8 Works
44 ------- ---------------------