Platform

Facebook Live Integration

Full Facebook Live integration including Chat, Reactions, Stars, and real-time stream events.

Overview

FaustBot's Facebook Live integration provides complete access to your Facebook streaming:

Chat Integration

Send and receive comments with full user info and profile data.

Reactions

React to Like, Love, Wow, Haha, Sad, and Angry reactions in real-time.

Stars & Tips

Respond to Facebook Stars with amounts and supporter info.

Followers & Shares

Get notified when users follow or share your stream.

Connecting Your Account

1

Open Facebook Settings

Click Facebook in the sidebar to open the Facebook integration page.

2

Connect Your Account

Click Connect Account and log in with your Facebook account. Grant the necessary permissions for live streaming access.

Screenshot: Facebook authentication
3

Select Page (Optional)

If you stream to a Facebook Page, select the page from the dropdown. Leave blank to stream to your personal profile.

Page vs Profile

Streaming to a Facebook Page provides additional features like Stars monetization and better analytics. Personal profiles have limited streaming features.

Available Triggers

FaustBot can respond to all Facebook Live events in real-time:

Chat Events

Comment Any comment on the live stream
First Comment User's first comment in the stream
Command Comment triggered by command prefix

Reaction Events

Like User liked the stream
Love User sent a Love reaction
Wow User sent a Wow reaction
Haha User sent a Haha reaction
Sad User sent a Sad reaction
Angry User sent an Angry reaction

Monetization Events

Stars User sent Facebook Stars
Fan Subscription User subscribed as a supporter

Engagement Events

Follow New page follower
Share User shared the live stream
Viewer Join New viewer joined the stream

Stream Events

Stream Online Stream went live
Stream Offline Stream ended
Viewer Count Update Current viewer count changed

Effects

Actions can use these Facebook-specific effects:

Send Comment

Post a comment to the live stream.

Reply to Comment

Reply directly to a specific comment.

Like Comment

Like a user's comment.

Hide Comment

Hide a comment from the stream.

Delete Comment

Delete a specific comment.

Ban User

Ban a user from commenting.

Update Stream

Update stream title and description.

End Stream

End the live stream.

Variables

The following variables are available in Facebook triggers:

VariableDescription
%user%Facebook username
%displayName%Full display name
%userId%Facebook user ID
%message%Comment text
%commentId%Unique comment ID
%reaction%Reaction type (like, love, wow, etc.)
%stars%Number of Stars sent
%starsValue%Dollar value of Stars
%viewers%Current viewer count
%peakViewers%Peak viewer count
%shares%Number of shares
%streamTitle%Current stream title

Scripting API

Access Facebook features from your scripts via the CPH API:

Comments

Comments
# Send a comment
CPH.FacebookSendComment("Hello everyone!")

# Reply to a comment
CPH.FacebookReplyToComment(args["commentId"], "Thanks for watching!")

# Like a comment
CPH.FacebookLikeComment(args["commentId"])

Moderation

Moderation
# Hide a comment
CPH.FacebookHideComment(args["commentId"])

# Delete a comment
CPH.FacebookDeleteComment(args["commentId"])

# Ban a user
CPH.FacebookBanUser(args["userId"])

Stream Management

Stream Management
# Update stream info
CPH.FacebookUpdateStream("New Title!", "Stream description here")

# End the stream
CPH.FacebookEndStream()

Stream Info

Stream Info
# Get stream info
info = CPH.FacebookGetStreamInfo()
print(f"Title: {info.Title}")
print(f"Viewers: {info.ViewerCount}")
print(f"Peak: {info.PeakViewers}")
print(f"Reactions: {info.ReactionCount}")

See the full API reference for all available methods.