Configures Facebook and Meta integrations in Orchard Core, including Meta Login authentication, Social Plugins widgets, Meta Pixel tracking, and the Conversions API.
Ships in orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
OrchardCore.Facebook is the Meta core feature. It is
EnabledByDependencyOnly; do not try to enable it directly. Enable a
dependent feature instead:
| Feature ID | Purpose |
|---|---|
OrchardCore.Facebook.Login | External Meta authentication |
OrchardCore.Facebook.Widgets | Meta social-plugin widgets |
OrchardCore.Facebook.Pixel | Meta Pixel tracking and the Conversions API |
The Login and Widgets features bring in the core feature. Pixel is independent.
Configure the core app at Settings → Integrations → Meta App. The backing
FacebookSettings properties are AppId, AppSecret, FBInit,
FBInitParams, SdkJs, and Version. The module's dedicated recipe step is
FacebookCoreSettings:
{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Facebook.Login"
]
},
{
"name": "FacebookCoreSettings",
"AppId": "meta-app-id",
"FBInit": true,
"FBInitParams": "status: true, xfbml: true, autoLogAppEvents: true",
"SdkJs": "sdk.js",
"Version": "v3.2"
}
]
}
The app secret is stored data-protected when saved from the admin page, and
the login handler decrypts it. A secret written by a recipe is stored as is
and cannot be decrypted, so supply AppSecret through the admin page or
configuration instead. The step replaces all core values, so re-running it
clears a secret entered earlier.
In 4.0, FacebookSettings.AppSecretSecretName can name a TextSecret of the
Secrets module instead; it takes precedence over AppSecret. With the
OrchardCore.Secrets feature enabled, the Meta App page offers Use a
secret (suggested name Facebook.AppSecret), and a saved secret can be moved
without retyping it from Tools → Security → Migrate Secrets. The generic
Settings step can set "AppSecretSecretName": "Facebook.AppSecret" in
FacebookSettings after a Secrets step created the secret; FacebookCoreSettings
has no secret-name property. The Pixel ConversionsApiAccessToken can't
reference a secret. See orchardcore-secrets.
Call ConfigureFacebookSettings() on the OrchardCoreBuilder to override the
stored core settings from configuration:
builder.Services
.AddOrchardCms()
.ConfigureFacebookSettings();
{
"OrchardCore": {
"Facebook": {
"AppId": "meta-app-id",
"AppSecret": "plain-app-secret",
"FBInit": false,
"FBInitParams": "status:true,xfbml:true,autoLogAppEvents:true",
"SdkJs": "sdk.js",
"Version": "v3.2"
}
}
}
The configured AppSecret is a plain value (for example from the
OrchardCore__Facebook__AppSecret environment variable or a key vault); Orchard
Core protects it before use. In 4.0 it logs a LegacySecretConfiguration
warning (event 8100). The section binds onto FacebookSettings, so set
AppSecretSecretName here instead to reference a secret, and remove AppSecret.
Enable OrchardCore.Facebook.Login, which depends on
OrchardCore.Users.ExternalAuthentication. Configure it at
Settings → Security → Authentication → Meta. The callback defaults to
/signin-facebook; register the tenant's full HTTPS callback URL with Meta.
{
"steps": [
{
"name": "FacebookLoginSettings",
"CallbackPath": "/signin-facebook"
}
]
}
The FacebookLoginSettings step persists the callback path only. To also set
SaveTokens, use the generic Settings step with a FacebookLoginSettings
object (CallbackPath, SaveTokens).
Enable OrchardCore.Users.Registration only when external users should be
able to create local accounts; external-user creation is controlled by
ExternalRegistrationSettings (see orchardcore-users-roles).
Enable OrchardCore.Facebook.Widgets to get the FacebookPluginPart and the
Chat, Comments, Continue With, Like, Quote, Save, and Share widgets.
The FacebookPluginPart body is an executable Liquid template. Editing it
requires the security-critical ManageLiquidTemplates permission, which is
also required to edit or publish any content containing the part, including
widgets embedded recursively inside other content items. Grant it only to
trusted roles.
Load the SDK in templates when a page needs it (resources fb and fbsdk):
{% scriptresource name: "fbsdk" %}
Enable OrchardCore.Facebook.Pixel and configure
Settings → Integrations → Meta Pixel:
PixelId) for browser-side tracking.ConversionsApiAccessToken), generated in Events Manager for the pixel's dataset; stored encrypted.ConversionsApiTestEventCode), optional; events go to the Events Manager test console. Remove it before going live.{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Facebook.Pixel",
"OrchardCore.Workflows"
]
},
{
"name": "Settings",
"FacebookPixelSettings": {
"PixelId": "your-pixel-id",
"ConversionsApiTestEventCode": "TEST12345"
}
}
]
}
Enter the access token from the admin page so it is stored encrypted.
With OrchardCore.Workflows enabled, the Meta Conversions API Event task
(category Meta) sends a server-side event when a workflow runs:
Purchase or Lead (supports workflow expressions).Website, App, or Email.The task has Done and Failed outcomes. Server-side events are useful for
background processes and for events affected by ad blockers.
OrchardCore_Facebook configuration section to OrchardCore:Facebook (the old name still works but is deprecated).AppSecret from configuration is now honored; in 3.x it had to be an already-protected value and was otherwise ignored. It logs LegacySecretConfiguration; move it to a secret.FacebookSettings.AppSecret directly must also honor AppSecretSecretName.FacebookPluginPart content now requires ManageLiquidTemplates.Permission.Description values are LocalizationSource; see orchardcore-permission-providers.Official Orchard Core videos shown on the documentation page:
What SKILL.md sets; muted values are Claude Code's defaults
/orchardcore:orchardcore-facebookfrom orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin orchardcore140 skills in this plugin
/orchardcore-adminGuidance for the Orchard Core admin panel, including admin controllers and routes, admin menu registration with AdminNavigationProvider, ocat editor forms grouped in cards, admin pages rendering Model.Editor, the UI text casing standard, TheAdmin layout and menu colors, admin branding, the Navbar shape, the Ctrl+K quick navigation palette and QuickNavigationSource, AdminSettings such as MenuBehavior, ShowBreadcrumb, DisplayQuickNavigation, DisplayTitlesInTopbar and ActionsLayout, the AdminDashboard shape, settings pages, and admin filters and zones. Use this skill when requests mention the Orchard Core admin panel, TheAdmin, admin controllers, admin menu registration, an icon on an admin menu item, the AdminSettings recipe step, quick navigation, navigation menu behavior, the admin URL prefix, UI text casing. Strong matches include OrchardCore.Admin, AdminSettings, AdminPermissions, AdminOptions, AdminAttribute, SiteDisplayDriver, IDisplayManager./orchardcore-admin-dashboardSkill for creating admin dashboard widgets in Orchard Core. Covers the DashboardWidget stereotype, DashboardPart position and sizing, the built-in HtmlDashboardWidget, ContentsMetadata and ContentsTags widget types, custom widget content types via recipe or migration, arranging widgets in Manage Dashboard mode, widget template customization, provisioning widgets with recipes, dashboard permissions, the DashboardBreadcrumbProvider Dashboard ancestor, and the AdminDashboardContent shape used when the feature is disabled. Use this skill when requests mention Orchard Core Admin Dashboard, Create and Configure Dashboard Widgets, Enabling Admin Dashboard, Widget Configuration Properties, dashboard widget recipes, Dashboard breadcrumb, or related implementation, setup, or troubleshooting work. Strong matches include OrchardCore.AdminDashboard, DashboardPart, DashboardBreadcrumbProvider, AccessAdminDashboard, ManageAdminDashboard.Other plugins' skills for the same job