BstFacebookConnect 9.0.1

How to use

Program.cs

builder.Services.AddFacebookTokenStore<IFacebookTokenStore>();
builder.Services.AddFacebook(options => {
    options.ClientId = configuration["Facebook:ClientId"];
    options.ClientSecret = configuration["Facebook:ClientSecret"];
    options.CallbackPath = "/callback-Facebook";
});

Controller

FacebookAccountClient FacebookAccountClient

var authProperties = new AuthenticationProperties() {
    RedirectUri = "/"
};
try {
    return Challenge(authProperties, BstFacebookConnectSettings.AuthenticationScheme);
} catch (Exception e) {
    return Ok(e.ToString());
}

FacebookAccountClient.GetLatestPostsAsync(10);

No packages depend on BstFacebookConnect.

Version Downloads Last updated
10.0.4 0 03/02/2026
10.0.3 0 28/01/2026
10.0.2 2 12/12/2025
10.0.1 2 04/12/2025
9.0.2 1 03/02/2026
9.0.1 2 16/12/2025