BstFacebookConnect 10.0.5

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.5 1 10/02/2026
10.0.4 2 03/02/2026
10.0.3 2 28/01/2026
10.0.2 3 12/12/2025
10.0.1 3 04/12/2025
9.0.2 6 03/02/2026
9.0.1 4 16/12/2025