net3000.linkedin
1.0.0
dotnet add package net3000.linkedin --version 1.0.0
NuGet\Install-Package net3000.linkedin -Version 1.0.0
<PackageReference Include="net3000.linkedin" Version="1.0.0" />
<PackageVersion Include="net3000.linkedin" Version="1.0.0" />
<PackageReference Include="net3000.linkedin" />
paket add net3000.linkedin --version 1.0.0
#r "nuget: net3000.linkedin, 1.0.0"
#:package net3000.linkedin@1.0.0
#addin nuget:?package=net3000.linkedin&version=1.0.0
#tool nuget:?package=net3000.linkedin&version=1.0.0
Net3000.LinkedIn
Overview
The Net3000.LinkedIn library provides comprehensive integration with LinkedIn's API for Net3000 solutions. This library enables professional networking functionality, content management, company page administration, and LinkedIn data retrieval for business and professional applications.
Features
- Professional Networking: Manage LinkedIn connections and professional relationships
- Content Management: Post and manage LinkedIn content and articles
- Company Pages: Administer LinkedIn company pages and business profiles
- Analytics: Access LinkedIn analytics and engagement metrics
- Lead Generation: Generate and manage LinkedIn leads
- Social Selling: Support for LinkedIn Sales Navigator integration
Installation
dotnet add package net3000.linkedin
Dependencies
net3000.common(v9.0.11)net3000.common.models(v1.0.7)net3000.servicecoordinator(v1.0.0)Microsoft.EntityFrameworkCore(v9.0.9)Microsoft.Extensions.Configuration(v9.0.9)Newtonsoft.Json(v13.0.4)
Configuration
Add your LinkedIn API credentials to your configuration:
{
"LinkedIn": {
"ClientId": "your-linkedin-client-id",
"ClientSecret": "your-linkedin-client-secret",
"RedirectUri": "https://your-app.com/callback",
"Scope": "r_liteprofile,r_emailaddress,w_member_social"
}
}
Usage
Basic Setup
using Net3000.LinkedIn;
// Initialize the LinkedIn service
var linkedInService = new LinkedInService(configuration);
Authentication
// Get authorization URL
var authUrl = linkedInService.GetAuthorizationUrl();
// Exchange authorization code for access token
var accessToken = await linkedInService.ExchangeCodeForTokenAsync(authorizationCode);
// Set access token for API calls
linkedInService.SetAccessToken(accessToken);
Profile Management
// Get user profile
var profile = await linkedInService.GetUserProfileAsync();
// Update profile information
await linkedInService.UpdateProfileAsync(profileData);
// Get company profile
var companyProfile = await linkedInService.GetCompanyProfileAsync("company-id");
Content Management
// Share content on LinkedIn
var shareResult = await linkedInService.ShareContentAsync(
text: "Check out this amazing content!",
url: "https://example.com/article"
);
// Share with image
var imageShareResult = await linkedInService.ShareImageAsync(
text: "Amazing image!",
imageUrl: "https://example.com/image.jpg"
);
// Get user's posts
var posts = await linkedInService.GetUserPostsAsync();
Company Page Management
// Get company pages
var companyPages = await linkedInService.GetCompanyPagesAsync();
// Post to company page
var pagePost = await linkedInService.PostToCompanyPageAsync(
companyId: "company-id",
text: "Company update!",
url: "https://example.com/news"
);
// Get page analytics
var analytics = await linkedInService.GetPageAnalyticsAsync("company-id");
API Reference
LinkedInService Class
Main service class for LinkedIn API integration.
Methods
GetAuthorizationUrl()- Get OAuth authorization URLExchangeCodeForTokenAsync()- Exchange authorization code for access tokenGetUserProfileAsync()- Retrieve user profile informationUpdateProfileAsync()- Update user profileGetCompanyProfileAsync()- Get company profile informationShareContentAsync()- Share content on LinkedInShareImageAsync()- Share image contentGetUserPostsAsync()- Get user's postsGetCompanyPagesAsync()- Get managed company pagesPostToCompanyPageAsync()- Post content to company pageGetPageAnalyticsAsync()- Get page analytics data
Models
LinkedInProfile- User profile data structureCompanyProfile- Company profile informationLinkedInPost- Post content structurePageAnalytics- Analytics data modelLinkedInResponse- API response wrapper
Error Handling
Comprehensive error handling with detailed error messages from LinkedIn API. All methods include proper exception handling and return standardized response objects.
Rate Limiting
The library respects LinkedIn API rate limits and includes built-in retry logic for handling temporary rate limit exceeded responses.
Authentication Flow
- OAuth 2.0 authorization code flow
- Access token management and refresh
- Scope-based permissions
- Secure credential storage
Analytics and Insights
- Post engagement metrics
- Profile view statistics
- Company page analytics
- Lead generation insights
Security Features
- Secure OAuth 2.0 implementation
- Encrypted credential storage
- Request signing and validation
- GDPR compliance support
Testing
Use LinkedIn's test environment for development:
- Test LinkedIn app credentials
- Test user accounts for development
- Sandbox environment for testing API calls
License
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.
Support
For support and questions, contact the Net3000 development team or visit net3000.ca.
Changelog
v1.0.0
- Initial release with LinkedIn API integration
- Professional networking and profile management
- Content sharing and company page administration
- Analytics and engagement tracking
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- net3000.common (>= 10.0.1)
- net3000.common.models (>= 1.0.9)
- Newtonsoft.Json (>= 13.0.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on net3000.linkedin:
| 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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 135 | 12/26/2025 |
Initial release of Net3000 LinkedIn library with professional networking API integration.