Simple Text

A simple message with unicode text only

Example: Here how to post simple text message

String message = "This is a simple text message";

FeedPost feedPost = new FeedPost.Builder()
  .setMessage(message)
  .setVisibility(AccessControl.PUBLIC)
  .build();

session.getNewsFeed().blockingCreate(feedPost);
let message = "This is a simple text message"

let feedPost = try FeedPost.Builder()
  .setMessage(message)
  .setVisibility(.Public)
    .build()

try session.newsFeed.blockingCreate(feedPost)
let post = (new FeedPost())
    .setMessage("This is a simple text message")
    .setVisibility(AccessControl.Public);
let createdPost = await session.newsFeed.create(post);
let post = (new FeedPost())
    .setMessage("This is a simple text message")
    .setVisibility(AccessControl.Public);
session.newsFeed.create(post).then((createdPost)=> {
});