Event News Feed

Event news feed centralizes publications from the current event. You can also put a message that will be intended to all members in the same way as you would on your news feed.

📘

Learn more on News Feed

Refer to the News Feed / Activity Stream documentation for more information

// Get event
Event event = session.getEvent().blockingGet(EVENT_ID);

// List News Feed from Event
Iterable<Feed> newsFeedIterable = event.blockingListNewsFeed(PAGE, SIZE);

// Post on the Event News Feed
FeedPost feedPost = new FeedPost.Builder()...build();
Feed postedFeed = event.blockingCreateFeedPost(feedPost);
// Get event
let event = try session.event.blockingGet(EVENT_ID)!

// List News Feed from Event
let newsFeedIterable = try event.blockingListNewsFeed(page: PAGE, size: SIZE)

// Post on the Event News Feed
let feedPost = try FeedPost.Builder()...build()
let postedFeed = try event.blockingCreateFeedPost(feedPost)
let event = await session.event.get(EVENT_ID);
let feedItems = await event.listNewsFeed();

let post = new FeedPost().setMessage("...");
let feedItem = await event.createFeedPost(post);
session.event.get(EVENT_ID).then((event)=> {
    event.listNewsFeed().then((feedItems)=> {
  
  });
  
  let post = new FeedPost().setMessage("...");
    event.createFeedPost(post).then((feedItem)=> {
  
  });
});