View Source Bonfire.Social.FeedActivities (bonfire v0.3.0-classic-beta.4)
Link to this section Summary
Functions
Delete an activity (usage by things like unlike)
Gets a feed by id or ids or a thing/things containing an id/ids.
Return a page of Feed Activities (reverse chronological) + pagination metadata
Gets a list of feed ids this activity was published to from the database.
Computes the feed ids for get_feed_publishes/2
.
Creates the underlying data for put_feed_publishes/2
.
Takes or creates an activity and publishes to object creator's inbox
Gets a user's home feed, a combination of all feeds the user is subscribed to.
Creates a new local activity or takes an existing one and publishes to creator's inbox
Creates a new local activity or takes an existing one and publishes to object's notifications (if object is an actor)
Creates a new local activity or takes an existing one and publishes to object's inbox (assuming object is a character)
Creates a new local activity and publishes to appropriate feeds
Arranges for an insert changeset to also publish to feeds related to some objects.
Records a remote activity and puts in appropriate feeds
Link to this section Functions
Delete an activity (usage by things like unlike)
Gets a feed by id or ids or a thing/things containing an id/ids.
Return a page of Feed Activities (reverse chronological) + pagination metadata
Gets a list of feed ids this activity was published to from the database.
Currently only used by the ActivityPub integration.
Computes the feed ids for get_feed_publishes/2
.
Options:
:inbox
- list of objects whose inbox we should attempt to insert into.:outbox
- list of objects whose outbox we should attempt to insert into.:notifications
- list of objects whose notifications we should attempt to insert into.:feeds
- list of ids (or objects containing IDs of feeds to post to.
Creates the underlying data for put_feed_publishes/2
.
Takes or creates an activity and publishes to object creator's inbox
Gets a user's home feed, a combination of all feeds the user is subscribed to.
Creates a new local activity or takes an existing one and publishes to creator's inbox
Creates a new local activity or takes an existing one and publishes to object's notifications (if object is an actor)
Creates a new local activity or takes an existing one and publishes to object's inbox (assuming object is a character)
Creates a new local activity and publishes to appropriate feeds
Arranges for an insert changeset to also publish to feeds related to some objects.
Options: see get_feed_ids/1
Records a remote activity and puts in appropriate feeds