Skip to content

Integration Layer

Project: KeDevO.YardPro.Integration Type: .NET 10.0 Class Library

External API clients — eBay REST APIs and Facebook Graph API.

eBay Integration

EbayClient (~1200 lines, 25+ methods)

Authentication

OAuth consent URL generation, token callback, refresh token management.

Listings

Create, update, withdraw, bulk operations. Uses eBay Inventory API.

Orders

Order sync via Fulfillment API, acknowledgment.

Templates

Listing templates with category mappings and default values.

Categories & Conditions

eBay category tree browsing, item condition lookups.

Business Policies

Fulfillment, return, and payment policy management.

Facebook Integration

FacebookClient

  • Page posting with images
  • Engagement tracking (likes, comments, shares)
  • Multi-destination support (multiple pages/groups)
  • Graph API v21.0

Configuration

{
  "Ebay": {
    "ClientId": "...",
    "ClientSecret": "...",
    "RedirectUri": "...",
    "Sandbox": false
  },
  "Facebook": {
    "AppId": "...",
    "AppSecret": "..."
  }
}