Skip to main content
AI/MLCrestApps

orchardcore-facebook

Skill for configuring Facebook/Meta integrations in Orchard Core. Covers Meta App core components, Meta Login authentication, Social Plugins widgets (Like, Share, Comments, etc.), Meta Pixel tracking, and settings configuration. Use this skill when requests mention Orchard Core Facebook/Meta Integration, Meta Core Components, Meta App Settings, Meta Login Authentication, Meta Login Settings, Meta Social Plugins Widgets, or closely related Orchard Core implementation, setup, extension, or troubleshooting work. Strong matches include work with OrchardCore.Facebook, OrchardCore.Facebook.Login, OrchardCore.Facebook.Widgets, OrchardCore.Facebook.Pixel, OrchardCore.Users.Registration, ResourceManager, ConfigureFacebookSettings, OrchardCoreBuilder, AppId, AppSecret, v3.2, sdk.js. It also helps with Meta Login Settings, Meta Social Plugins Widgets, Available Widget Types, plus the code patterns, admin flows, recipe steps, and referenced examples captured in this skill.

Stars
13
Source
CrestApps/CrestApps.AgentSkills
Updated
2026-05-29
Slug
CrestApps--CrestApps.AgentSkills--orchardcore-facebook
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/CrestApps/CrestApps.AgentSkills/HEAD/plugins/orchardcore/skills/orchardcore-facebook/SKILL.md -o .claude/skills/orchardcore-facebook.md

Drops the SKILL.md into .claude/skills/orchardcore-facebook.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Orchard Core Facebook and Meta Integration

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

The Login and Widgets features bring in the core feature. Pixel is independent.

Meta App Settings

Configure the core app at Settings → Integrations → Meta App. The backing FacebookSettings properties are AppId, AppSecret, FBInit, FBInitParams, SdkJs, and Version.

{
  "steps": [
    {
      "name": "Feature",
      "enable": [
        "OrchardCore.Facebook.Login"
      ]
    },
    {
      "name": "FacebookCoreSettings",
      "AppId": "meta-app-id",
      "AppSecret": "supply-from-a-secret-store",
      "FBInit": true,
      "FBInitParams": "status: true, xfbml: true, autoLogAppEvents: true",
      "SdkJs": "sdk.js",
      "Version": "v3.2"
    }
  ]
}

Use ConfigureFacebookSettings() only when host configuration must override the stored core settings. Keep the app secret out of source control.

Meta Login

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"
    }
  ]
}

FacebookLoginSettings persists the callback path. SaveTokens is a runtime setting and is not part of this recipe step.

Enable OrchardCore.Users.Registration only when external users should be able to create local accounts.

Widgets and Pixel

Enable OrchardCore.Facebook.Widgets to add the FacebookPluginPart content part to widget content types. Enable OrchardCore.Facebook.Pixel and configure its pixel setting separately. Load fbsdk in templates when a page needs the SDK:

{% scriptresource name: "fbsdk" %}