![]() |
VOOZH | about |
dotnet add package net3000.facebook --version 1.0.0
NuGet\Install-Package net3000.facebook -Version 1.0.0
<PackageReference Include="net3000.facebook" Version="1.0.0" />
<PackageVersion Include="net3000.facebook" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="net3000.facebook" />Project file
paket add net3000.facebook --version 1.0.0
#r "nuget: net3000.facebook, 1.0.0"
#:package net3000.facebook@1.0.0
#addin nuget:?package=net3000.facebook&version=1.0.0Install as a Cake Addin
#tool nuget:?package=net3000.facebook&version=1.0.0Install as a Cake Tool
The Net3000.Facebook library provides comprehensive integration with the Facebook Graph API for Net3000 solutions. This library enables social media management, content posting, page administration, and Facebook data retrieval.
dotnet add package net3000.facebook
net3000.common (v9.0.11)net3000.common.models (v1.0.7)System.IdentityModel.Tokens.Jwt (v8.14.0)Add your Facebook API credentials to your configuration:
{
"Facebook": {
"Id": "your-facebook-app-id",
"Secret": "your-facebook-app-secret",
"Version": "v18.0"
}
}
using net3000.facebook;
// Initialize the service
var facebookService = new lib(configuration);
facebookService.accessToken = "your-page-access-token";
facebookService.currentPageId = "your-page-id";
// Post text content to Facebook
facebookService.message = "Hello from Net3000!";
facebookService.postToId = "your-page-id";
var result = facebookService.addPost();
// Post with images
facebookService.title = "Image Post";
facebookService.message = "Check out this image!";
var file = new postFile();
file.byteArray = imageBytes;
facebookService.files = new List<postFile> { file };
var result = facebookService.postToFeed("Image Post", "Check out this image!", imageList);
// Get page accounts
var accounts = facebookService.getAccounts();
// Get page albums
var albums = facebookService.getAlbums();
// Get page reviews
var reviews = facebookService.getReviews();
Main service class for Facebook Graph API integration.
accessToken - Facebook page access tokencurrentPageId - Current Facebook page IDcurrentPageName - Current Facebook page namepostToId - Target page ID for postsmessage - Post message contenttitle - Post titlefiles - List of files to uploadaddPost() - Add a new post to Facebook feedaddNote() - Add a note to FacebookgetAccounts() - Get Facebook page accountsgetAlbums() - Get page photo albumsgetImagesForAlbum() - Get images from a specific albumgetFeed() - Get page feed postsgetPostDetails() - Get detailed post informationpostToFeed() - Post content with images to feedgetReviews() - Get page reviewsgetEvents() - Get page eventsUploadImageToFacebookPage() - Upload images to FacebookfacebookPage - Facebook page informationalbums - Album data structureimagedata - Image data structureFacebookFeed - Feed data structureFacebookPost - Post data structurepostResponse - Response from posting operationsreviewItem - Review data structureevents - Event data structureThe library provides comprehensive error handling with detailed error messages from the Facebook Graph API. All methods return apiResponse<T> objects with success/failure status and detailed error information.
The library respects Facebook Graph API rate limits and includes proper error handling for rate limit exceeded responses.
Use Facebook's test environment for development:
This library is proprietary to Net3000. Usage is restricted to Net3000.ca solutions and authorized affiliates. Redistribution, sublicensing, or integration with third-party products outside the Net3000 ecosystem is prohibited without written consent from Net3000.
For support and questions, contact the Net3000 development team or visit net3000.ca.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on net3000.facebook:
| Package | Downloads |
|---|---|
|
Net3000.Content
CMS tooling for Net3000 solutions. Provides form-processing workflows, content retrieval services, menu utilities, and video helpers that work together with the Net3000 content database. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 197 | 10/4/2025 |
Initial release of Net3000 Facebook library with Graph API integration for posting content and managing Facebook pages.