Introduction
About this extension
fp_ is a lean library extension. It provides the
data-transfer and response objects exchanged between the fixpunkt social
server and TYPO3. The protocol (currently version 2) is encapsulated as typed
PHP objects and is used, among others, by
fp_social.
The extension deliberately contains no business logic of its own, no TCA and no plugins – only the shared classes, so that the server and client side use the same format.
Included classes
| Class | Purpose |
|---|---|
Serializable | Contract: from, from, to |
v2\ | A single post (id, headline, message, url, date, hashtags, mentions, pictures) |
v2\ | Iterable, countable collection of Post objects |
v2\ | A selectable page or channel of a connected account (id, name) |
v2\ | A connected account incl. its channels (uid, network, display name, e-mail, expiry) |
v2\ | Iterable, countable collection of Account objects, grouped by
network |
v2\ | Abstract base incl. version check and the from factory |
v2\ | Response containing a single post |
v2\ | Response containing multiple posts + pagination
(previous/next) |
v2\ | Response containing all connected accounts, grouped by network |
v2\ | Error response (code with prefix 5550, message) |
v2\ | Answer to a throttled request: which limit was hit and from when the service can be used again |
v2\ | Answer whose protocol version does not fit the expected one |
v2\ | Answer whose type is unknown, incl. the received type and the raw data |