The plugin is configured by environment variables.
SKYGEAR_SOCIAL_FEED_RECORD_TYPES
- String of array of your record types which you want them to be indexedSKYGEAR_SOCIAL_FEED_FANOUT_POLICY
- Json string of record fanout policy
curl http://<your-skygear-endpoint>/social-feed-init
add a friend and then indexing your friend's records
Param | Type | Description |
---|---|---|
user | Skygear User Object |
add friends and then indexing your friends' record
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
add a followee and then indexing your followee's records
Param | Type | Description |
---|---|---|
user | Skygear User Object |
add followees and then indexing your followees' record
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
remove a friend and then remove the records indexing of that friend
Param | Type | Description |
---|---|---|
user | Skygear User Object |
remove friends and then remove the records indexing of those friends
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
unfollow a user and then emove the records indexing of that user
Param | Type | Description |
---|---|---|
user | Skygear User Object |
unfollow users and then emove the records indexing of those users
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
Index users' records if you are friends
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
Index followees' records
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
Remove the indexing of users' records if you are friends
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
Remove the indexing of users' records if you are followers of them
Param | Type | Description |
---|---|---|
users | array of Skygear User Object |
filter out the records which are not created by your friends
Param | Type | Description |
---|---|---|
query | Skygear Query |
filter out the records which are not created by your followees
Param | Type | Description |
---|---|---|
query | Skygear Query |
Reindex your index to your friends' records
Param | Type | Description |
---|
Reindex your index to your followees' records
Param | Type | Description |
---|
Enable your records fanout to your friends' feed
Param | Type | Description |
---|
Disable your records fanout to your friends' feed
Param | Type | Description |
---|
Enable your records fanout to your followers' feed
Param | Type | Description |
---|
Disable your records fanout to your followers' feed
Param | Type | Description |
---|